summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglstring.h
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-03-01 06:37:18 +0000
committerJosé Fonseca <[email protected]>2012-03-01 06:37:30 +0000
commit6b024464e80d035fe92c9c15761a0ac269a8ad51 (patch)
tree99bfbce64a664cedeb5c94635041220848d0939d /src/egl/main/eglstring.h
parentffee498fb848b253a7833373fe5430f8c7ca0c5f (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/main/eglstring.h')
-rw-r--r--src/egl/main/eglstring.h1
1 files changed, 1 insertions, 0 deletions
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