diff options
author | José Fonseca <[email protected]> | 2013-07-03 08:24:08 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2013-07-03 08:26:08 +0100 |
commit | 9b6788eb15dd3feedf9daf775bd7259988c35b10 (patch) | |
tree | b115d42da4ad0a344bcf1fb4f8c40fc0dea1425f /src/glsl/opt_dead_builtin_varyings.cpp | |
parent | 4bc8e3c3e45a0086d7a8077bebf2fc50819ff54d (diff) |
glsl: Ensure snprintf is defined on MSVC builds.
Should fix:
src\glsl\opt_dead_builtin_varyings.cpp(244) : error C3861: 'snprintf': identifier not found
...
Diffstat (limited to 'src/glsl/opt_dead_builtin_varyings.cpp')
-rw-r--r-- | src/glsl/opt_dead_builtin_varyings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp index 71bb7c41c73..2e813d24ec6 100644 --- a/src/glsl/opt_dead_builtin_varyings.cpp +++ b/src/glsl/opt_dead_builtin_varyings.cpp @@ -44,6 +44,7 @@ * VARYING_SLOT_TEX0 + i. */ +#include "main/imports.h" /* for snprintf */ #include "ir.h" #include "ir_rvalue_visitor.h" #include "ir_optimization.h" |