summaryrefslogtreecommitdiff
path: root/lib/common/BoxTimeToUnix.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/common/BoxTimeToUnix.h')
-rwxr-xr-xlib/common/BoxTimeToUnix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common/BoxTimeToUnix.h b/lib/common/BoxTimeToUnix.h
index 17e57e27..f8a8797e 100755
--- a/lib/common/BoxTimeToUnix.h
+++ b/lib/common/BoxTimeToUnix.h
@@ -10,7 +10,11 @@
#ifndef FILEMODIFICATIONTIMETOTIMEVAL__H
#define FILEMODIFICATIONTIMETOTIMEVAL__H
+#ifdef WIN32
+#include <time.h>
+#else
#include <sys/time.h>
+#endif
#include "BoxTime.h"