summaryrefslogtreecommitdiff
path: root/src/common/compat_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat_time.c')
-rw-r--r--src/common/compat_time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/compat_time.c b/src/common/compat_time.c
index 58916825cb..011bc9e2a4 100644
--- a/src/common/compat_time.c
+++ b/src/common/compat_time.c
@@ -13,6 +13,7 @@
#include "compat.h"
#ifdef _WIN32
+#undef HAVE_CLOCK_GETTIME
#include <winsock2.h>
#include <windows.h>
#endif