diff options
author | Jay Berkenbilt <ejb@ql.org> | 2009-10-20 04:06:31 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2009-10-20 04:06:31 +0200 |
commit | f0557a96fd6cf99fc5eb5b01fd241cc5a8af0790 (patch) | |
tree | fe47a3882efa157a9d0aefce6291985f9f080283 /include | |
parent | a3b77ef9a5a02660568e00d0e68e31d424209a36 (diff) | |
download | qpdf-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.h | 6 |
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" { |