Include strings.h in XKBcommonint.h for strcasecmp etc
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Thu, 26 Apr 2012 11:49:00 +0000 (13:49 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Thu, 26 Apr 2012 11:49:00 +0000 (13:49 +0200)
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>
src/XKBcommonint.h

index 92220b6..047f29a 100644 (file)
@@ -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"