summaryrefslogtreecommitdiff
path: root/regress/unittests
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2017-03-16 13:45:17 +1100
committerDarren Tucker <dtucker@zip.com.au>2017-03-16 13:45:17 +1100
commitb55f634e96b9c5b0cd991e23a9ca181bec4bdbad (patch)
tree7257185c0120c6bff4ee587fb6115c042cf9ffe5 /regress/unittests
parent55a1117d7342a0bf8b793250cf314bab6b482b99 (diff)
Wrap stdint.h in #ifdef HAVE_STDINT_H
Diffstat (limited to 'regress/unittests')
-rw-r--r--regress/unittests/conversion/tests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/unittests/conversion/tests.c b/regress/unittests/conversion/tests.c
index eaa96bb2..ebb48a14 100644
--- a/regress/unittests/conversion/tests.c
+++ b/regress/unittests/conversion/tests.c
@@ -8,7 +8,9 @@
#include <sys/types.h>
#include <sys/param.h>
#include <stdio.h>
+#ifdef HAVE_STDINT_H
#include <stdint.h>
+#endif
#include <stdlib.h>
#include <string.h>