From 6b024464e80d035fe92c9c15761a0ac269a8ad51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 1 Mar 2012 06:37:18 +0000 Subject: [PATCH] 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(-) diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c index 38a896b..5ed8341 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 d3ab435..aab466b 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 -- 2.7.4