summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fitz/base_time.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fitz/base_time.c b/fitz/base_time.c
index a369099c..476749a7 100644
--- a/fitz/base_time.c
+++ b/fitz/base_time.c
@@ -1,7 +1,9 @@
#ifdef _WIN32
#include <time.h>
+#ifndef METRO
#include <winsock2.h>
+#endif
#include <windows.h>
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)