aboutsummaryrefslogtreecommitdiff
path: root/src/libutil
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-05-04 16:32:54 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-05-04 16:32:54 +0000
commit26fd28432d61a88dcef5f3f79657c2caa9461a78 (patch)
tree63de2009fe94722a494ee2c63f72a92fe99662b0 /src/libutil
parent5dea0622d1d673bf60f47781c33f343ce9979a7f (diff)
* FreeBSD 4.x doesn't have stdint.h, use inttypes.h instead (which is
also part of ISO C).
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/md5.h2
-rw-r--r--src/libutil/sha1.h2
-rw-r--r--src/libutil/sha256.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/md5.h b/src/libutil/md5.h
index 6daac5060..4b1873383 100644
--- a/src/libutil/md5.h
+++ b/src/libutil/md5.h
@@ -21,7 +21,7 @@
#ifndef _MD5_H
#define _MD5_H 1
-#include <stdint.h>
+#include <inttypes.h>
typedef uint32_t md5_uint32;
typedef uintptr_t md5_uintptr;
diff --git a/src/libutil/sha1.h b/src/libutil/sha1.h
index 012893bd3..5594f65b5 100644
--- a/src/libutil/sha1.h
+++ b/src/libutil/sha1.h
@@ -1,7 +1,7 @@
#ifndef _SHA_H
#define _SHA_H
-#include <stdint.h>
+#include <inttypes.h>
/* The SHA block size and message digest sizes, in bytes */
diff --git a/src/libutil/sha256.h b/src/libutil/sha256.h
index 39b301342..0686b84f0 100644
--- a/src/libutil/sha256.h
+++ b/src/libutil/sha256.h
@@ -1,7 +1,7 @@
#ifndef _SHA256_H
#define _SHA256_H 1
-#include <stdint.h>
+#include <inttypes.h>
#define SHA_LBLOCK 16
#define SHA_CBLOCK (SHA_LBLOCK*4) /* SHA treats input data as a