From adfb9c5c7bf062fd56273b4538fef353ddd6f43d Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Wed, 13 Dec 2017 19:49:07 +0000 Subject: Fix use of alloca() without #include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ../../../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(+) (limited to 'src') 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" -- cgit v1.2.3