summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2010-11-11 11:35:47 +0100
committerCyril Brulebois <kibi@debian.org>2010-12-07 18:42:43 +0100
commitd1b45b0fd54efb952f9ff435a516c1bfd85ca186 (patch)
treed9afec924932606ede3162af572848868b57e650 /include
parent780754050bc9cb1489f92a2a890ab5665e3e6358 (diff)
Fix missing <string.h> include.
The following happens otherwise (with -Wall -Werror): | In file included from /usr/include/X11/Xfuncs.h:47, | from ../../include/misc.h:112, | from ../../include/screenint.h:52, | from ../../include/scrnintstr.h:52, | from ../../dix/cursor.c:58: | /usr/include/string.h:534: error: conflicting types for ‘xstrcasecmp’ | ../../include/os.h:488: note: previous declaration of ‘xstrcasecmp’ was here | /usr/include/string.h:538: error: conflicting types for ‘xstrncasecmp’ | ../../include/os.h:493: note: previous declaration of ‘xstrncasecmp’ was here Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'include')
-rw-r--r--include/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h
index 566514d4a..d587f3441 100644
--- a/include/os.h
+++ b/include/os.h
@@ -51,6 +51,7 @@ SOFTWARE.
#include "misc.h"
#include <stdarg.h>
+#include <string.h>
#define SCREEN_SAVER_ON 0
#define SCREEN_SAVER_OFF 1