From 789fd0b74aa9170124ab8604d7dfbf39fa589e7a Mon Sep 17 00:00:00 2001
From: Yang Tse <yangsita@gmail.com>
Date: Sat, 17 Feb 2007 11:43:52 +0000
Subject: Replicate the configure tests that determined that timeval was
 available.

---
 tests/libtest/testutil.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'tests')

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
-- 
cgit v1.2.3