aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-17 11:43:52 +0000
committerYang Tse <yangsita@gmail.com>2007-02-17 11:43:52 +0000
commit789fd0b74aa9170124ab8604d7dfbf39fa589e7a (patch)
tree15c06f1df2d83c1dad959e3469d338a839632915 /tests/libtest
parent8103915797062626db15f840f975cf4bafcc328c (diff)
Replicate the configure tests that determined that timeval was available.
Diffstat (limited to 'tests/libtest')
-rw-r--r--tests/libtest/testutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/libtest/testutil.h b/tests/libtest/testutil.h
index 31e00ffe5..18bd9e99c 100644
--- a/tests/libtest/testutil.h
+++ b/tests/libtest/testutil.h
@@ -25,6 +25,9 @@
#include "setup.h"
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#ifdef TIME_WITH_SYS_TIME