summaryrefslogtreecommitdiff
path: root/apps/pdftool.c
diff options
context:
space:
mode:
authorKrzysztof Kowalczyk <kkowalczyk@gmail.com>2008-03-31 07:54:02 +0200
committerKrzysztof Kowalczyk <kkowalczyk@gmail.com>2008-03-31 07:54:02 +0200
commitbc8802f8399faf20c1a62815e3a29e21c680855f (patch)
tree466290009d950d5d8cf36395fb9cfe419516706c /apps/pdftool.c
parentbf4bd68a70bfe02c010082dcd603a137c3d6f1fb (diff)
downloadmupdf-bc8802f8399faf20c1a62815e3a29e21c680855f.tar.xz
fixes for native windows build with Visual Studio
Diffstat (limited to 'apps/pdftool.c')
-rw-r--r--apps/pdftool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/pdftool.c b/apps/pdftool.c
index d1379d98..7d29e813 100644
--- a/apps/pdftool.c
+++ b/apps/pdftool.c
@@ -12,7 +12,11 @@
#include "fitz.h"
#include "mupdf.h"
+#ifdef _MSC_VER
+#include <Winsock2.h>
+#else
#include <sys/time.h>
+#endif
/*
* Common operations.