From 9b6788eb15dd3feedf9daf775bd7259988c35b10 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 3 Jul 2013 08:24:08 +0100 Subject: [PATCH] glsl: Ensure snprintf is defined on MSVC builds. Should fix: src\glsl\opt_dead_builtin_varyings.cpp(244) : error C3861: 'snprintf': identifier not found ... --- src/glsl/opt_dead_builtin_varyings.cpp | 1 + 1 file changed, 1 insertion(+) 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" -- 2.30.2