diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libxkbcommon/build.patch | |
Diffstat (limited to 'vcpkg/ports/libxkbcommon/build.patch')
| -rw-r--r-- | vcpkg/ports/libxkbcommon/build.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/libxkbcommon/build.patch b/vcpkg/ports/libxkbcommon/build.patch new file mode 100644 index 0000000..fc51387 --- /dev/null +++ b/vcpkg/ports/libxkbcommon/build.patch @@ -0,0 +1,26 @@ +diff --git a/tools/how-to-type.c b/tools/how-to-type.c +index 72aea1b..783373a 100644 +--- a/tools/how-to-type.c ++++ b/tools/how-to-type.c +@@ -26,7 +26,9 @@ + #include <getopt.h> + #include <stdbool.h> + #include <stdlib.h> ++#ifdef HAVE_UNISTD_H + #include <unistd.h> ++#endif + #include <errno.h> + + #include "xkbcommon/xkbcommon.h" +diff --git a/tools/tools-common.c b/tools/tools-common.c +index 8eb3f4b..8b22307 100644 +--- a/tools/tools-common.c ++++ b/tools/tools-common.c +@@ -42,6 +42,7 @@ + #ifdef _WIN32 + #include <io.h> + #include <windows.h> ++#include <process.h> + #else + #include <unistd.h> + #include <termios.h> |