From d1b45b0fd54efb952f9ff435a516c1bfd85ca186 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Thu, 11 Nov 2010 11:35:47 +0100 Subject: [PATCH] Fix missing include. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Cyril Brulebois --- include/os.h | 1 + 1 file changed, 1 insertion(+) 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 +#include #define SCREEN_SAVER_ON 0 #define SCREEN_SAVER_OFF 1