Commit a1c08536a5b2a2a053d28bc45e603dde3a1cddd3

Alan Coopersmith 2012-04-26T13:49:00

Include strings.h in XKBcommonint.h for strcasecmp etc POSIX specifies that these functions require <strings.h>, but we were only including <string.h>. It did work, but still. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Daniel Stone <daniel@fooishbar.org>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/XKBcommonint.h b/src/XKBcommonint.h
index 92220b6..047f29a 100644
--- a/src/XKBcommonint.h
+++ b/src/XKBcommonint.h
@@ -81,6 +81,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
 
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include <X11/extensions/XKB.h>
 
 #include "xkbcommon/xkbcommon.h"