egl: Include stddef.h in generated source
[mesa.git] / src / egl / generate / gen_egl_dispatch.py
index fe901fdd5b6c95f0792d4a944ecc4353c534f1fe..12342b28a541aca62d12f269da56482c92e6f827 100644 (file)
@@ -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: