From 6b024464e80d035fe92c9c15761a0ac269a8ad51 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Thu, 1 Mar 2012 06:37:18 +0000 Subject: egl: Don't include strings.h on Windows. strings.h is needed for the declaration of strcasecmp(), but only on non-Windows platforms. --- src/egl/main/egllog.c | 1 - src/egl/main/eglstring.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'src/egl') diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c index 38a896b2c5d..5ed8341448d 100644 --- a/src/egl/main/egllog.c +++ b/src/egl/main/egllog.c @@ -38,7 +38,6 @@ #include #include #include -#include #include "egllog.h" #include "eglstring.h" diff --git a/src/egl/main/eglstring.h b/src/egl/main/eglstring.h index d3ab435ab7f..aab466bba5a 100644 --- a/src/egl/main/eglstring.h +++ b/src/egl/main/eglstring.h @@ -38,6 +38,7 @@ #define _eglstrcasecmp _stricmp #define _eglsnprintf _snprintf #else +#include // for strcasecmp #define _eglstrcasecmp strcasecmp #define _eglsnprintf snprintf #endif -- cgit v1.2.3