[Box Backup-commit] COMMIT r1758 - box/chris/merge/lib/common

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Thu Jul 26 22:59:36 BST 2007


Author: chris
Date: 2007-07-26 22:59:36 +0100 (Thu, 26 Jul 2007)
New Revision: 1758

Modified:
   box/chris/merge/lib/common/Timer.h
Log:
Don't #include sys/time.h unless our platform has it, thanks Gary.
(refs #3, merges [1664])


Modified: box/chris/merge/lib/common/Timer.h
===================================================================
--- box/chris/merge/lib/common/Timer.h	2007-07-26 21:59:09 UTC (rev 1757)
+++ box/chris/merge/lib/common/Timer.h	2007-07-26 21:59:36 UTC (rev 1758)
@@ -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>
 




More information about the Boxbackup-commit mailing list