aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxres/build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libxres/build.patch')
-rw-r--r--vcpkg/ports/libxres/build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/libxres/build.patch b/vcpkg/ports/libxres/build.patch
new file mode 100644
index 0000000..04b3ce3
--- /dev/null
+++ b/vcpkg/ports/libxres/build.patch
@@ -0,0 +1,16 @@
+diff --git a/include/X11/extensions/XRes.h b/include/X11/extensions/XRes.h
+index 1c816165e..8da68aa23 100644
+--- a/include/X11/extensions/XRes.h
++++ b/include/X11/extensions/XRes.h
+@@ -6,7 +6,10 @@
+ #define _XRES_H
+
+ #include <X11/Xfuncproto.h>
+-
++#if defined(_MSC_VER)
++ #include <process.h>
++ typedef int pid_t;
++#endif
+ /* v1.0 */
+
+ typedef struct {