Include time.h.
authorZhang Xianyi <traits.zhang@gmail.com>
Thu, 8 Oct 2015 15:07:24 +0000 (15:07 +0000)
committerZhang Xianyi <traits.zhang@gmail.com>
Thu, 8 Oct 2015 15:18:54 +0000 (15:18 +0000)
common.h

index c367e38..c7660a7 100644 (file)
--- a/common.h
+++ b/common.h
@@ -114,6 +114,7 @@ extern "C" {
 #include <sys/shm.h>
 #endif
 #include <sys/time.h>
+#include <time.h>
 #include <unistd.h>
 #include <math.h>
 #ifdef SMP