summaryrefslogtreecommitdiff
path: root/common/gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/gettime.c')
-rw-r--r--common/gettime.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/gettime.c b/common/gettime.c
index 03c152f..cbf2436 100644
--- a/common/gettime.c
+++ b/common/gettime.c
@@ -42,6 +42,10 @@
#include "i18n.h"
#include "gettime.h"
+#ifdef HAVE_W32_SYSTEM
+#include <windows.h>
+#endif
+
#ifdef HAVE_UNSIGNED_TIME_T
# define IS_INVALID_TIME_T(a) ((a) == (time_t)(-1))
#else