summaryrefslogtreecommitdiff
path: root/lib/common/Timer.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/Timer.h')
-rw-r--r--lib/common/Timer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/common/Timer.h b/lib/common/Timer.h
index 8e229a0a..ba6d71f4 100644
--- a/lib/common/Timer.h
+++ b/lib/common/Timer.h
@@ -11,7 +11,9 @@
#ifndef TIMER__H
#define TIMER__H
-#include <sys/time.h>
+#ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+#endif
#include <vector>