diff options
author | José Fonseca <[email protected]> | 2012-03-01 06:37:18 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-03-01 06:37:30 +0000 |
commit | 6b024464e80d035fe92c9c15761a0ac269a8ad51 (patch) | |
tree | 99bfbce64a664cedeb5c94635041220848d0939d /src/egl | |
parent | ffee498fb848b253a7833373fe5430f8c7ca0c5f (diff) |
egl: Don't include strings.h on Windows.
strings.h is needed for the declaration of strcasecmp(), but only on
non-Windows platforms.
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/main/egllog.c | 1 | ||||
-rw-r--r-- | src/egl/main/eglstring.h | 1 |
2 files changed, 1 insertions, 1 deletions
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 <stdarg.h> #include <stdio.h> #include <stdlib.h> -#include <strings.h> #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 <strings.h> // for strcasecmp #define _eglstrcasecmp strcasecmp #define _eglsnprintf snprintf #endif |