diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/xproto/windows-io.patch | |
Diffstat (limited to 'vcpkg/ports/xproto/windows-io.patch')
| -rw-r--r-- | vcpkg/ports/xproto/windows-io.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/xproto/windows-io.patch b/vcpkg/ports/xproto/windows-io.patch new file mode 100644 index 0000000..159d121 --- /dev/null +++ b/vcpkg/ports/xproto/windows-io.patch @@ -0,0 +1,12 @@ +diff --git a/include/X11/Xos.h b/include/X11/Xos.h
+index 28dfc673a..37d268f27 100644
+--- a/include/X11/Xos.h
++++ b/include/X11/Xos.h
+@@ -80,6 +80,7 @@ in this Software without prior written authorization from The Open Group.
+ # include <unistd.h>
+ # endif
+ # ifdef WIN32
++# include <io.h> // For open()
+ # include <X11/Xw32defs.h>
+ # else
+ # include <sys/file.h>
|