diff options
Diffstat (limited to 'include/sha1.h')
-rw-r--r-- | include/sha1.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sha1.h b/include/sha1.h index 5473f91f412..4da5c37f386 100644 --- a/include/sha1.h +++ b/include/sha1.h @@ -39,6 +39,11 @@ # include <sys/types.h> typedef u_int32_t sha1_uint32; typedef uintptr_t sha1_uintptr; +#elif defined (HAVE_SYS_TYPES_H) && defined (HAVE_STDINT_H) +#include <stdint.h> +#include <sys/types.h> +typedef uint32_t sha1_uint32; +typedef uintptr_t sha1_uintptr; #else # define INT_MAX_32_BITS 2147483647 |