aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libx11/io_include.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libx11/io_include.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libx11/io_include.patch')
-rw-r--r--vcpkg/ports/libx11/io_include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/vcpkg/ports/libx11/io_include.patch b/vcpkg/ports/libx11/io_include.patch
new file mode 100644
index 0000000..184b8d5
--- /dev/null
+++ b/vcpkg/ports/libx11/io_include.patch
@@ -0,0 +1,12 @@
+diff --git a/src/XlibInt.c b/src/XlibInt.c
+index bab39bc00..31b6511cb 100644
+--- a/src/XlibInt.c
++++ b/src/XlibInt.c
+@@ -45,6 +45,7 @@ from The Open Group.
+ #include <stdio.h>
+ #ifdef WIN32
+ #include <direct.h>
++#include <io.h>
+ #endif
+
+ /* Needed for FIONREAD on Solaris */