projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b49e0a
)
Include strings.h in XKBcommonint.h for strcasecmp etc
author
Alan Coopersmith
<alan.coopersmith@oracle.com>
Thu, 26 Apr 2012 11:49:00 +0000
(13:49 +0200)
committer
Daniel 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
patch
|
blob
|
history
diff --git
a/src/XKBcommonint.h
b/src/XKBcommonint.h
index
92220b6
..
047f29a
100644
(file)
--- 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"