[Box Backup-commit] COMMIT r1664 - box/chris/general/lib/common
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Wed, 16 May 2007 00:50:25 +0100
Author: chris
Date: 2007-05-16 00:50:25 +0100 (Wed, 16 May 2007)
New Revision: 1664
Modified:
box/chris/general/lib/common/Timer.h
Log:
Don't #include sys/time.h unless our platform has it, thanks Gary.
Modified: box/chris/general/lib/common/Timer.h
===================================================================
--- box/chris/general/lib/common/Timer.h 2007-05-15 23:31:09 UTC (rev 1663)
+++ box/chris/general/lib/common/Timer.h 2007-05-15 23:50:25 UTC (rev 1664)
@@ -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>