Fossil SCM

Add a #include of <sys/types.h> to sha1.c. I am told this help it to compile on BSD systems.

drh 2007-10-23 16:30 UTC trunk
Commit 17486c353f2e582a10e2f476303bd73be87a4414
1 file changed +1
+1
--- src/sha1.c
+++ src/sha1.c
@@ -1,10 +1,11 @@
11
/*
22
** This implementation of SHA1 is adapted from the example implementation
33
** contained in RFC-3174.
44
*/
55
#include <stdint.h>
6
+#include <sys/types.h>
67
#include "config.h"
78
#include "sha1.h"
89
910
/*
1011
* If you do not have the ISO standard stdint.h header file, then you
1112
--- src/sha1.c
+++ src/sha1.c
@@ -1,10 +1,11 @@
1 /*
2 ** This implementation of SHA1 is adapted from the example implementation
3 ** contained in RFC-3174.
4 */
5 #include <stdint.h>
 
6 #include "config.h"
7 #include "sha1.h"
8
9 /*
10 * If you do not have the ISO standard stdint.h header file, then you
11
--- src/sha1.c
+++ src/sha1.c
@@ -1,10 +1,11 @@
1 /*
2 ** This implementation of SHA1 is adapted from the example implementation
3 ** contained in RFC-3174.
4 */
5 #include <stdint.h>
6 #include <sys/types.h>
7 #include "config.h"
8 #include "sha1.h"
9
10 /*
11 * If you do not have the ISO standard stdint.h header file, then you
12

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button