chiark / gitweb /
Include sys/time.h in a few places, necessary for older libc versions.
[disorder] / lib / timeval.h
index 930ad24efabc00afc8007e8337e5b2e63b50ca4a..325a7cedda4e4d41112b5c1fb14c5b5db45b1819 100644 (file)
@@ -22,6 +22,7 @@
 #define TIMEVAL_H
 
 #include <time.h>
+#include <sys/time.h>
 
 static inline struct timeval tvsub(const struct timeval a,
                                    const struct timeval b) {