diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/crypto/sha/ChangeLog | 6 | ||||
| -rw-r--r-- | src/lib/crypto/sha/configure.in | 1 | ||||
| -rw-r--r-- | src/lib/crypto/sha/shs.c | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/crypto/sha/ChangeLog b/src/lib/crypto/sha/ChangeLog index 52039b0b9..8a312d7fb 100644 --- a/src/lib/crypto/sha/ChangeLog +++ b/src/lib/crypto/sha/ChangeLog @@ -1,3 +1,9 @@ +Wed Aug 28 17:40:53 1996 Theodore Ts'o <tytso@rsts-11.mit.edu> + + * shs.c: Only include sys/types.h if present. + + * configure.in: Check for sys/types.h + Thu Jun 13 10:54:27 1996 Ezra Peisach <epeisach@kangaroo.mit.edu> * hmac_sha.c: Include string.h for memcpy prototype diff --git a/src/lib/crypto/sha/configure.in b/src/lib/crypto/sha/configure.in index c23c1ce7e..d270e01f3 100644 --- a/src/lib/crypto/sha/configure.in +++ b/src/lib/crypto/sha/configure.in @@ -2,5 +2,6 @@ AC_INIT(configure.in) CONFIG_RULES dnl AC_DEFINE(NEW_SHS) V5_SHARED_LIB_OBJS +AC_CHECK_HEADERS(sys/types.h) SubdirLibraryRule([${OBJS}]) V5_AC_OUTPUT_MAKEFILE diff --git a/src/lib/crypto/sha/shs.c b/src/lib/crypto/sha/shs.c index be4d8fd0d..ee4965036 100644 --- a/src/lib/crypto/sha/shs.c +++ b/src/lib/crypto/sha/shs.c @@ -1,4 +1,6 @@ +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif #include <string.h> #include "shs.h" |
