summaryrefslogtreecommitdiff
path: root/regress/unittests
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-10-24 09:06:18 +1100
committerDarren Tucker <dtucker@zip.com.au>2016-10-24 09:06:18 +1100
commit09e6a7d8354224933febc08ddcbc2010f542284e (patch)
tree41860975e24ed19efb82ad51227be8abb2ae0ebf /regress/unittests
parent08d9e9516e587b25127545c029e5464b2e7f2919 (diff)
Wrap stdint.h include in ifdef.
Diffstat (limited to 'regress/unittests')
-rw-r--r--regress/unittests/match/tests.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/unittests/match/tests.c b/regress/unittests/match/tests.c
index bcba7667..7ff319c1 100644
--- a/regress/unittests/match/tests.c
+++ b/regress/unittests/match/tests.c
@@ -10,7 +10,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>