mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 20:59:00 +08:00
16 lines
411 B
Diff
16 lines
411 B
Diff
|
diff --git a/src/XpmI.h b/src/XpmI.h
|
||
|
index 4360ad3b9..a8d78b0ba 100644
|
||
|
--- a/src/XpmI.h
|
||
|
+++ b/src/XpmI.h
|
||
|
@@ -325,8 +325,10 @@ FUNC(xpmstrcasecmp, int, (char *s1, char *s2));
|
||
|
#else
|
||
|
#undef xpmstrcasecmp
|
||
|
#define xpmstrcasecmp strcasecmp
|
||
|
+#if !defined(_MSC_VER)
|
||
|
#include <strings.h>
|
||
|
#endif
|
||
|
+#endif
|
||
|
|
||
|
FUNC(xpmatoui, unsigned int,
|
||
|
(char *p, unsigned int l, unsigned int *ui_return));
|
||
|
|