aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libx11/io_include.patch
blob: 184b8d556a4ecae8e3830967adfd55acf77316bb (plain)
1
2
3
4
5
6
7
8
9
10
11
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 */