From 69f2f5cb6fbf9b5ba4f811888fc0ec1e5a7c4567 Mon Sep 17 00:00:00 2001
From: Dan Fandrich <dan@coneharvesters.com>
Date: Sat, 17 Feb 2007 01:23:37 +0000
Subject: Replicate the configure tests that determined that timeval was
 available.

---
 lib/timeval.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'lib')

diff --git a/lib/timeval.h b/lib/timeval.h
index effd741da..6c55a71ba 100644
--- a/lib/timeval.h
+++ b/lib/timeval.h
@@ -30,6 +30,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