aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl/generate
diff options
context:
space:
mode:
authorDanilo Spinella <[email protected]>2019-09-14 00:03:20 +0200
committerMatt Turner <[email protected]>2019-10-09 13:16:38 -0700
commit962aca19105dc9b443a62b460b114c1b5f995164 (patch)
tree89d97aca25d06dd726bbafd79d2dba8b5c1be374 /src/egl/generate
parent1ee42583830facd9f903f431891d0400cee963cf (diff)
egl: Include stddef.h in generated source
Required for NULL macro used throughout the generated file. Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/egl/generate')
-rw-r--r--src/egl/generate/gen_egl_dispatch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/generate/gen_egl_dispatch.py b/src/egl/generate/gen_egl_dispatch.py
index fe901fdd5b6..12342b28a54 100644
--- 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: