summaryrefslogtreecommitdiff
path: root/lib/xstrtol.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xstrtol.h')
-rw-r--r--lib/xstrtol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xstrtol.h b/lib/xstrtol.h
index 513855f14..5d6dd8ebe 100644
--- a/lib/xstrtol.h
+++ b/lib/xstrtol.h
@@ -20,6 +20,8 @@
# if HAVE_INTTYPES_H
# include <inttypes.h> /* for uintmax_t */
+# elif HAVE_STDINT_H
+# include <stdint.h>
# endif
# ifndef PARAMS