summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 10:37:49 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 10:37:49 -0800
commit0c2c504819b8788075115f848343bd45a3bb6605 (patch)
treeb2dd0b7f59a8bba25a4bd4254634306a03ed21a8
parent9ffdecdfa0a832a129a97735eaf1d22ec6defc13 (diff)
Include strings.h for strcasecmp
Our minimum requirement for X11 is currently Unix98. Unix98 provides strcasecmp in <strings.h>. This commit fixes implicit declarations of this function on systems that closely adhere to the standard. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r--src/XKBfileInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/XKBfileInt.h b/src/XKBfileInt.h
index d0e842f..e810e61 100644
--- a/src/XKBfileInt.h
+++ b/src/XKBfileInt.h
@@ -75,6 +75,7 @@ char *_XkbDupString(const char *s)
extern int _XkbStrCaseCmp(char *s1, char *s2);
#else
#define _XkbStrCaseCmp strcasecmp
+#include <strings.h>
#endif
_XFUNCPROTOEND