Include sys/time.h in timestamp.h
authorEric Biggers <ebiggers3@gmail.com>
Thu, 22 Nov 2012 05:10:16 +0000 (23:10 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Thu, 22 Nov 2012 05:10:16 +0000 (23:10 -0600)
src/timestamp.h

index 6f08fc2e03fe641d993eabbedb684dee442212df..6b54954d96bf0aff384fbdd47ac4fb1fb5c5a58a 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "util.h"
 #include <sys/types.h>
+#include <sys/time.h>
 
 #define intervals_per_second (1000000000ULL / 100ULL)
 #define intervals_per_microsecond (10)