rendercheck: main.c

Jeremy Huddleston jeremyhu at kemper.freedesktop.org
Fri Nov 11 11:01:06 PST 2011


 main.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 313a9689db26a2a7c384836b7838cb1d2261f228
Author: Jeremy Huddleston <jeremyhu at apple.com>
Date:   Fri Nov 11 11:00:53 2011 -0800

    Include strings.h for strcasecmp
    
    Our minimum requirement for X11 is currently Unix98.  Unix98 provides
    strcasecmp in <strings.h>.  This commit fixes implicit declarations
    of this function on systems that closely adhere to the standard.
    
    Signed-off-by: Jeremy Huddleston <jeremyhu at apple.com>

diff --git a/main.c b/main.c
index 5190c49..5e6404c 100644
--- a/main.c
+++ b/main.c
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
+#include <strings.h>
 #include <getopt.h>
 
 extern int num_ops;


More information about the xorg-commit mailing list