aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libsm/missing-include.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libsm/missing-include.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libsm/missing-include.patch')
-rw-r--r--vcpkg/ports/libsm/missing-include.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/libsm/missing-include.patch b/vcpkg/ports/libsm/missing-include.patch
new file mode 100644
index 0000000..f4f4358
--- /dev/null
+++ b/vcpkg/ports/libsm/missing-include.patch
@@ -0,0 +1,14 @@
+diff --git a/src/sm_genid.c b/src/sm_genid.c
+index 3726eb1d2..082ce89fe 100644
+--- a/src/sm_genid.c
++++ b/src/sm_genid.c
+@@ -90,6 +90,9 @@ in this Software without prior written authorization from The Open Group.
+ # define X_INCLUDE_NETDB_H
+ # define XOS_USE_MTSAFE_NETDBAPI
+ # include <X11/Xos_r.h>
++# ifdef _MSC_VER
++# include <process.h>
++# endif
+
+ #endif /* WIN32 */
+