summaryrefslogtreecommitdiff
path: root/cipher/bufhelp.h
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/bufhelp.h')
-rw-r--r--cipher/bufhelp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cipher/bufhelp.h b/cipher/bufhelp.h
index a3be24a1..638ca1b2 100644
--- a/cipher/bufhelp.h
+++ b/cipher/bufhelp.h
@@ -22,6 +22,8 @@
#ifdef HAVE_STDINT_H
# include <stdint.h> /* uintptr_t */
+#elif defined(HAVE_INTTYPES_H)
+# include <inttypes.h>
#else
/* In this case, uintptr_t is provided by config.h. */
#endif