projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ee4258
)
egl: Include stddef.h in generated source
author
Danilo Spinella
<danyspin97@protonmail.com>
Fri, 13 Sep 2019 22:03:20 +0000
(
00:03
+0200)
committer
Matt Turner
<mattst88@gmail.com>
Wed, 9 Oct 2019 20:16:38 +0000
(13:16 -0700)
Required for NULL macro used throughout the generated file.
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/egl/generate/gen_egl_dispatch.py
patch
|
blob
|
history
diff --git
a/src/egl/generate/gen_egl_dispatch.py
b/src/egl/generate/gen_egl_dispatch.py
index fe901fdd5b6c95f0792d4a944ecc4353c534f1fe..12342b28a541aca62d12f269da56482c92e6f827 100644
(file)
--- a/
src/egl/generate/gen_egl_dispatch.py
+++ b/
src/egl/generate/gen_egl_dispatch.py
@@
-131,6
+131,7
@@
def generateSource(functions):
text = ""
text += '#include "egldispatchstubs.h"\n'
text += '#include "g_egldispatchstubs.h"\n'
+ text += '#include <stddef.h>\n'
text += "\n"
for (func, eglFunc) in functions: