aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xcb/getpid_include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/xcb/getpid_include.patch')
-rw-r--r--vcpkg/ports/xcb/getpid_include.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/xcb/getpid_include.patch b/vcpkg/ports/xcb/getpid_include.patch
new file mode 100644
index 0000000..755cd3e
--- /dev/null
+++ b/vcpkg/ports/xcb/getpid_include.patch
@@ -0,0 +1,14 @@
+diff --git a/src/xcb_auth.c b/src/xcb_auth.c
+index 8ebe9a437..9a1e459fc 100644
+--- a/src/xcb_auth.c
++++ b/src/xcb_auth.c
+@@ -46,6 +46,9 @@
+ #include <X11/Xwindows.h>
+ #endif
+ #include "xcb_windefs.h"
++#ifdef _MSC_VER
++#include <process.h>
++#endif
+ #else
+ #include <sys/param.h>
+ #include <unistd.h>