egl: Include stddef.h in generated source
authorDanilo Spinella <danyspin97@protonmail.com>
Fri, 13 Sep 2019 22:03:20 +0000 (00:03 +0200)
committerMatt 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

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: