Mesa (main): mesa/main: Fix use of alloca() without #include "c99_alloca.h"
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Nov 10 19:37:30 UTC 2021
Module: Mesa
Branch: main
Commit: 5451bb03c7b26704a5301613b11a180487b6241f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5451bb03c7b26704a5301613b11a180487b6241f
Author: Jesse Natalie <jenatali at microsoft.com>
Date: Tue Nov 9 17:36:50 2021 -0800
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 at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13735>
---
src/mesa/main/shader_query.cpp | 1 +
1 file changed, 1 insertion(+)
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,
More information about the mesa-commit
mailing list