aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2009-10-20 04:06:31 +0200
committerJay Berkenbilt <ejb@ql.org>2009-10-20 04:06:31 +0200
commitf0557a96fd6cf99fc5eb5b01fd241cc5a8af0790 (patch)
treefe47a3882efa157a9d0aefce6291985f9f080283 /include
parenta3b77ef9a5a02660568e00d0e68e31d424209a36 (diff)
downloadqpdf-f0557a96fd6cf99fc5eb5b01fd241cc5a8af0790.tar.zst
try io.h
git-svn-id: svn+q:///qpdf/trunk@840 71b93d88-0707-0410-a8cf-f5a4172ac649
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/qpdf-c.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/qpdf/qpdf-c.h b/include/qpdf/qpdf-c.h
index ef4c4c6b..a006c22b 100644
--- a/include/qpdf/qpdf-c.h
+++ b/include/qpdf/qpdf-c.h
@@ -63,7 +63,11 @@
#include <qpdf/DLL.h>
#include <qpdf/Constants.h>
-#include <fcntl.h>
+#ifdef _WIN32
+# include <io.h>
+#else
+# include <fcntl.h>
+#endif
#ifdef __cplusplus
extern "C" {