summaryrefslogtreecommitdiff
path: root/src/XKBfileInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/XKBfileInt.h')
-rw-r--r--src/XKBfileInt.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/XKBfileInt.h b/src/XKBfileInt.h
index e0332cb..13b63e6 100644
--- a/src/XKBfileInt.h
+++ b/src/XKBfileInt.h
@@ -29,6 +29,7 @@
#include "XKBfile.h"
#include <string.h>
+#include <strings.h>
#ifdef DEBUG
#define _XkbLibError(c,l,d) \
@@ -68,13 +69,7 @@ _XkbDupString(const char *s)
}
#define _XkbStrCaseEqual(s1,s2) (_XkbStrCaseCmp(s1,s2)==0)
-
-#ifndef HAVE_STRCASECMP
-extern int _XkbStrCaseCmp(char *s1, char *s2);
-#else
#define _XkbStrCaseCmp strcasecmp
-#include <strings.h>
-#endif
_XFUNCPROTOEND
#endif /* _XKBFILEINT_H_ */