<sys/time.h> is needed for gettimeofday.
[movit] / main.cpp
index 93f8c0c..8389cad 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -8,6 +8,7 @@
 #include <string.h>
 #include <math.h>
 #include <time.h>
+#include <sys/time.h>
 #include <assert.h>
 
 #include <string>