summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-08-08 14:08:16 +0200
committerErik Faye-Lund <[email protected]>2019-08-15 20:23:44 +0200
commit544b0886165ff891bda59f9bd4ec058f8af53e5a (patch)
treef2e91711e4a9ce1f3c7d47b0509360ead5a63c57 /src/compiler
parentecd312be96d417e70eaf4717fe64912ecbe8f713 (diff)
win32: unify strcasecmp definitions
There was two incompatible definitions of strcasecmp, which lead to a compiler warning. Let's clean this up by only leaving one of them, and using that one all the time. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/glsl/glsl_parser.yy1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/glsl/glsl_parser.yy b/src/compiler/glsl/glsl_parser.yy
index a86632c95e1..d2d87166b7b 100644
--- a/src/compiler/glsl/glsl_parser.yy
+++ b/src/compiler/glsl/glsl_parser.yy
@@ -33,6 +33,7 @@
#include "glsl_parser_extras.h"
#include "compiler/glsl_types.h"
#include "main/context.h"
+#include "util/u_string.h"
#ifdef _MSC_VER
#pragma warning( disable : 4065 ) // switch statement contains 'default' but no 'case' labels