]> git.sesse.net Git - movit/commitdiff
<sys/time.h> is needed for gettimeofday.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 Oct 2012 23:28:16 +0000 (01:28 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 1 Oct 2012 23:28:16 +0000 (01:28 +0200)
main.cpp

index 93f8c0cb1823d45e5ae4b8a719d6daa5d38bd73f..8389cad581768dea43cea63d865797332c5161f0 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -8,6 +8,7 @@
 #include <string.h>
 #include <math.h>
 #include <time.h>
 #include <string.h>
 #include <math.h>
 #include <time.h>
+#include <sys/time.h>
 #include <assert.h>
 
 #include <string>
 #include <assert.h>
 
 #include <string>