Module: Mesa Branch: master Commit: adfb9c5c7bf062fd56273b4538fef353ddd6f43d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=adfb9c5c7bf062fd56273b4538fef353ddd6f43d
Author: Jon Turney <[email protected]> Date: Wed Dec 13 19:49:07 2017 +0000 Fix use of alloca() without #include <c99_alloca.h> ../../../src/mesa/main/shaderapi.c: In function ‘_mesa_ShaderBinary’: ../../../src/mesa/main/shaderapi.c:2188:9: error: implicit declaration of function ‘alloca’ [-Werror=implicit-function-declaration] --- src/mesa/main/shaderapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index d824a88ca2..2c11e4d5bb 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -38,6 +38,7 @@ #include <stdbool.h> +#include <c99_alloca.h> #include "main/glheader.h" #include "main/context.h" #include "main/dispatch.h" _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
