summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorJesse Natalie <jenatali@microsoft.com>2021-11-09 17:36:50 -0800
committerMarge Bot <emma+marge@anholt.net>2021-11-10 19:07:38 +0000
commit5451bb03c7b26704a5301613b11a180487b6241f (patch)
treef8e75437b3708174f8dab628fce6fd81fce1d96a /src/mesa
parent549924d53e359c04d7c14b12990178c86d3aad2d (diff)
mesa/main: Fix use of alloca() without #include "c99_alloca.h"
Fixes: c216f193 ("mesa: use alloca in search_resource_hash") Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13735>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/shader_query.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp
index 9121531f436..cba84c631d8 100644
--- a/src/mesa/main/shader_query.cpp
+++ b/src/mesa/main/shader_query.cpp
@@ -38,6 +38,7 @@
#include "compiler/glsl/program.h"
#include "compiler/glsl/string_to_uint_map.h"
#include "util/mesa-sha1.h"
+#include "c99_alloca.h"
static GLint
program_resource_location(struct gl_program_resource *res,