zeek/auxil/vcpkg/ports/libx11/io_include.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

13 lines
277 B
Diff

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 */