aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: