egl: Include stddef.h in generated source

Required for NULL macro used throughout the generated file.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Danilo Spinella 2019-09-14 00:03:20 +02:00 committed by Matt Turner
parent 1ee4258383
commit 962aca1910
1 changed files with 1 additions and 0 deletions

View 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: