Merge pull request #147 from zYg-sys/master

examples: fix builds on windows
This commit is contained in:
Michael R Sweet
2026-01-14 08:08:28 -05:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -13,6 +13,10 @@
#include <pdfio.h>
#include <pdfio-content.h>
#ifdef _WIN32
# include <io.h>
# include <fcntl.h>
#endif // _WIN32
//

View File

@@ -25,6 +25,7 @@
#include <math.h>
#ifdef _WIN32
# include <io.h>
# include <fcntl.h>
#else
# include <unistd.h>
#endif // _WIN32