diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-04T16·32+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-05-04T16·32+0000 |
commit | 26fd28432d61a88dcef5f3f79657c2caa9461a78 (patch) | |
tree | 63de2009fe94722a494ee2c63f72a92fe99662b0 | |
parent | 5dea0622d1d673bf60f47781c33f343ce9979a7f (diff) |
* FreeBSD 4.x doesn't have stdint.h, use inttypes.h instead (which is
also part of ISO C).
-rw-r--r-- | src/libutil/md5.h | 2 | ||||
-rw-r--r-- | src/libutil/sha1.h | 2 | ||||
-rw-r--r-- | src/libutil/sha256.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libutil/md5.h b/src/libutil/md5.h index 6daac5060d80..4b18733836c2 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 012893bd3b94..5594f65b5f60 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 39b301342f42..0686b84f0e08 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 |