Replicate the configure tests that determined that timeval was available.
authorDan Fandrich <dan@coneharvesters.com>
Sat, 17 Feb 2007 01:23:37 +0000 (01:23 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 17 Feb 2007 01:23:37 +0000 (01:23 +0000)
lib/timeval.h

index effd741..6c55a71 100644 (file)
@@ -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