summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/egllog.c1
-rw-r--r--src/egl/main/eglstring.h1
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