From: Jon Turney Date: Wed, 13 Dec 2017 19:49:07 +0000 (+0000) Subject: Fix use of alloca() without #include X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=adfb9c5c7bf062fd56273b4538fef353ddd6f43d;p=mesa.git Fix use of alloca() without #include ../../../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] --- diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index d824a88ca2f..2c11e4d5bb6 100644 --- a/src/mesa/main/shaderapi.c +++ b/src/mesa/main/shaderapi.c @@ -38,6 +38,7 @@ #include +#include #include "main/glheader.h" #include "main/context.h" #include "main/dispatch.h"