mapi: #include "util/glheader.h" instead of #include "GL/gl.h"

Also add macro to guard windows.h won't be included

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Brian Paul brianp@vmware.com
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19472>
This commit is contained in:
Yonggang Luo
2022-11-03 03:09:12 +08:00
committed by Marge Bot
parent 2c89401f75
commit de53069af6
10 changed files with 26 additions and 25 deletions

View File

@@ -164,7 +164,7 @@ class PrintGlxProtoStubs(glX_proto_common.glx_print_proto):
def printRealHeader(self):
print('')
print('#include <GL/gl.h>')
print('#include "util/glheader.h"')
print('#include "indirect.h"')
print('#include "glxclient.h"')
print('#include "indirect_size.h"')