aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxres/build.patch
blob: 04b3ce3ec198f1f58d6d021473ed232bd41239b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 {