diff options
-rw-r--r-- | handle.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -38,7 +38,12 @@ from The Open Group. #include "wq.h" #include <stdlib.h> #include <stdint.h> -#include <strings.h> + +#if defined(_MSC_VER) +#define strncasecmp _strnicmp +#else +#include <strings.h> /* for strncasecmp in POSIX/SUS */ +#endif static XModifierKeymap *map = NULL; |