summaryrefslogtreecommitdiff
path: root/lib/timespec.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/timespec.h')
-rw-r--r--lib/timespec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/timespec.h b/lib/timespec.h
index 388ddb83a76..51b85d050da 100644
--- a/lib/timespec.h
+++ b/lib/timespec.h
@@ -20,6 +20,7 @@
# define TIMESPEC_H
# include <time.h>
+# include <sys/time.h>
/* Return negative, zero, positive if A < B, A == B, A > B, respectively.