diff options
Diffstat (limited to 'vcpkg/ports/libxmu/unistd.patch')
| -rw-r--r-- | vcpkg/ports/libxmu/unistd.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/libxmu/unistd.patch b/vcpkg/ports/libxmu/unistd.patch new file mode 100644 index 0000000..e570f13 --- /dev/null +++ b/vcpkg/ports/libxmu/unistd.patch @@ -0,0 +1,15 @@ +diff --git a/src/GetHost.c b/src/GetHost.c +index 2f0bccded..2d698f664 100644 +--- a/src/GetHost.c ++++ b/src/GetHost.c +@@ -35,7 +35,10 @@ in this Software without prior written authorization from The Open Group. + #endif + #include <X11/Xosdefs.h> + #include <string.h> ++ ++#ifdef HAVE_UNISTD_H + #include <unistd.h> ++#endif + + #ifdef WIN32 + #include <X11/Xlibint.h> |