aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libxpm/remove_strings_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/libxpm/remove_strings_h.patch')
-rw-r--r--vcpkg/ports/libxpm/remove_strings_h.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/libxpm/remove_strings_h.patch b/vcpkg/ports/libxpm/remove_strings_h.patch
new file mode 100644
index 0000000..290796f
--- /dev/null
+++ b/vcpkg/ports/libxpm/remove_strings_h.patch
@@ -0,0 +1,14 @@
+diff --git a/src/XpmI.h b/src/XpmI.h
+index 4360ad3b9..a8d78b0ba 100644
+--- a/src/XpmI.h
++++ b/src/XpmI.h
+@@ -332,7 +332,9 @@ FUNC(xpmstrcasecmp, int, (char *s1, char *s2));
+ #else
+ #undef xpmstrcasecmp
+ #define xpmstrcasecmp strcasecmp
++# if !defined(_MSC_VER)
+ #include <strings.h>
++# endif
+ #endif
+
+ HFUNC(xpmatoui, unsigned int,