aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-02-17 01:23:37 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-02-17 01:23:37 +0000
commit69f2f5cb6fbf9b5ba4f811888fc0ec1e5a7c4567 (patch)
tree2b922ff4a6164b0a6df13e3367f245a71e0a6d1c /lib
parentd46cab4a948dff620c88d67c873e76619b7768f1 (diff)
Replicate the configure tests that determined that timeval was available.
Diffstat (limited to 'lib')
-rw-r--r--lib/timeval.h3
1 files changed, 3 insertions, 0 deletions
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