aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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