diff options
author | Jon Turney <[email protected]> | 2017-12-13 19:49:07 +0000 |
---|---|---|
committer | Jon Turney <[email protected]> | 2018-01-09 22:07:52 +0000 |
commit | adfb9c5c7bf062fd56273b4538fef353ddd6f43d (patch) | |
tree | d600b73853b18096477bc95553df7817d2af1315 /src | |
parent | 28c2d0d80b2ba15cc56651c0d3e6bc6eb31f9594 (diff) |
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]
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/shaderapi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <stdbool.h> +#include <c99_alloca.h> #include "main/glheader.h" #include "main/context.h" #include "main/dispatch.h" |