summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2007-07-26 21:59:36 +0000
committerChris Wilson <chris+github@qwirx.com>2007-07-26 21:59:36 +0000
commit1072b4054a8e01cd848fd0025d766292f174a609 (patch)
tree2e676b7f7fe67e81810d6e3df7b5bba1547b4910 /lib
parentd79aefa67d3a9dcf9c76b670468851ae3709807b (diff)
Don't #include sys/time.h unless our platform has it, thanks Gary.
(refs #3, merges [1664])
Diffstat (limited to 'lib')
-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>