summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-09-03 19:22:22 +0100
committerRobin Watts <robin.watts@artifex.com>2012-09-04 19:13:07 +0100
commit0cd78c0a12ebc84b56a58016fbcc83aefba64e1a (patch)
treea2c693922b24db03a113e11160f75a1d4fe99748
parent226fc68a637d6220db6e79269352cbd13e43d93f (diff)
downloadmupdf-0cd78c0a12ebc84b56a58016fbcc83aefba64e1a.tar.xz
Tweak to allow building on metro.
Limited testing seems to suggest that the only thing stopping the MuPDF library building on metro seems to be the use of winsock.h.
-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)