vcpkg/ports/libxres/build.patch
Alexander Neumann 0e0aa20677
[xwindow] part 5b (#26851)
* [libice] add new port

* [libsm] add new port

* add license

* v db

* [libxi] add port

* [libxres] add port

* [libxrandr] add port

* v db

* add license

* v db

* fix port name

* fix vdb

* [libxrender] add port

* format

* v db

* fix arm ?

* use configure option

* arm fixes

* v db
2022-09-22 14:34:02 -07:00

17 lines
361 B
Diff

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 {