mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 10:40:11 +01:00
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]
This commit is contained in:
parent
28c2d0d80b
commit
adfb9c5c7b
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@
|
|||
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <c99_alloca.h>
|
||||
#include "main/glheader.h"
|
||||
#include "main/context.h"
|
||||
#include "main/dispatch.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue