Commit f0557a96fd6cf99fc5eb5b01fd241cc5a8af0790

Authored by Jay Berkenbilt
1 parent a3b77ef9

try io.h


git-svn-id: svn+q:///qpdf/trunk@840 71b93d88-0707-0410-a8cf-f5a4172ac649
Showing 1 changed file with 5 additions and 1 deletions
include/qpdf/qpdf-c.h
... ... @@ -63,7 +63,11 @@
63 63  
64 64 #include <qpdf/DLL.h>
65 65 #include <qpdf/Constants.h>
66   -#include <fcntl.h>
  66 +#ifdef _WIN32
  67 +# include <io.h>
  68 +#else
  69 +# include <fcntl.h>
  70 +#endif
67 71  
68 72 #ifdef __cplusplus
69 73 extern "C" {
... ...