summaryrefslogtreecommitdiffstats
path: root/src/util/t_array.pm
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/t_array.pm')
-rw-r--r--src/util/t_array.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/t_array.pm b/src/util/t_array.pm
index 19b4c18634..ed319d60df 100644
--- a/src/util/t_array.pm
+++ b/src/util/t_array.pm
@@ -41,7 +41,9 @@ __DATA__
#include <errno.h>
#include <limits.h>
#include <string.h>
-#include <stdint.h>
+#ifdef HAVE_STDINT_H
+# include <stdint.h>
+#endif
struct <NAME>__header {
size_t allocated;