summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/digest/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/defs.h b/ext/digest/defs.h
index e7b90be0235..bb55d984a25 100644
--- a/ext/digest/defs.h
+++ b/ext/digest/defs.h
@@ -18,7 +18,7 @@
#if defined(HAVE_INTTYPES_H)
# include <inttypes.h>
-#elif !defined __CYGWIN__
+#elif !defined __CYGWIN__ || !defined __INTTYPES_DEFINED__
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
# if SIZEOF_LONG == 8