Mesa (main): mesa/main: Correct alloca() use without #include "c99_alloca.h"

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 17 15:05:37 UTC 2022


Module: Mesa
Branch: main
Commit: 2866ae32da0348caf71ad2d11c353321df626ff4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2866ae32da0348caf71ad2d11c353321df626ff4

Author: Ken Johnson <skywing at microsoft.com>
Date:   Wed Jun 15 19:29:19 2022 -0700

mesa/main:  Correct alloca() use without #include "c99_alloca.h"

Fixes: d231f955913e3265d9a560b45dba48ea6336ab90 ("mesa: add hw select name stack code path")

Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17073>

---

 src/mesa/main/feedback.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/feedback.c b/src/mesa/main/feedback.c
index 3a035b67eeb..f06e58a8f59 100644
--- a/src/mesa/main/feedback.c
+++ b/src/mesa/main/feedback.c
@@ -30,6 +30,7 @@
 
 
 #include "glheader.h"
+#include "c99_alloca.h"
 #include "context.h"
 #include "enums.h"
 #include "feedback.h"



More information about the mesa-commit mailing list