Include sys/time.h in a few places, necessary for older libc versions.
[disorder] / lib / timeval.h
index 930ad24..325a7ce 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) {