From: Eric Engestrom Date: Fri, 19 Jul 2019 21:13:21 +0000 (+0100) Subject: st/nir: use asprintf() wrapper to fix MSVC issues X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1c35fa6d6e1c2177bb602e8cad3d6a25534ad04;p=mesa.git st/nir: use asprintf() wrapper to fix MSVC issues Fixes: 856e84083eee9b22408a ("mesa/st: add sampler uniforms") Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt --- diff --git a/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c b/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c index db838612da8..99f595a72b3 100644 --- a/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c +++ b/src/mesa/state_tracker/st_nir_lower_tex_src_plane.c @@ -29,6 +29,7 @@ * This should run after nir_lower_samplers. */ +#include "util/u_string.h" #include "compiler/nir/nir.h" #include "st_nir.h"