summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/glsl/opt_dead_builtin_varyings.cpp1
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"