aboutsummaryrefslogtreecommitdiff
path: root/include/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/md5.h')
-rw-r--r--include/md5.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/md5.h b/include/md5.h
index b3ff4e1..6da2fef 100644
--- a/include/md5.h
+++ b/include/md5.h
@@ -40,6 +40,11 @@
# include <sys/types.h>
typedef u_int32_t md5_uint32;
typedef uintptr_t md5_uintptr;
+#elif defined (HAVE_SYS_TYPES_H) && defined (HAVE_STDINT_H)
+#include <stdint.h>
+#include <sys/types.h>
+typedef uint32_t md5_uint32;
+typedef uintptr_t md5_uintptr;
#else
# define INT_MAX_32_BITS 2147483647