projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28c2d0d
)
Fix use of alloca() without #include <c99_alloca.h>
author
Jon Turney
<jon.turney@dronecode.org.uk>
Wed, 13 Dec 2017 19:49:07 +0000
(19:49 +0000)
committer
Jon Turney
<jon.turney@dronecode.org.uk>
Tue, 9 Jan 2018 22:07:52 +0000
(22:07 +0000)
../../../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
patch
|
blob
|
history
diff --git
a/src/mesa/main/shaderapi.c
b/src/mesa/main/shaderapi.c
index d824a88ca2f5b09667f41d473e72179fc9c7c5ec..2c11e4d5bb64166275e5e1a98bb653ccd9bf01cc 100644
(file)
--- 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"