summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi')
-rw-r--r--src/mapi/glapi/gen/gl_enums.py3
-rw-r--r--src/mapi/glapi/gen/gl_genexec.py1
-rw-r--r--src/mapi/glapi/gen/gl_table.py1
3 files changed, 2 insertions, 3 deletions
diff --git a/src/mapi/glapi/gen/gl_enums.py b/src/mapi/glapi/gen/gl_enums.py
index 255b1adfbed..1e4d5a3b3cf 100644
--- a/src/mapi/glapi/gen/gl_enums.py
+++ b/src/mapi/glapi/gen/gl_enums.py
@@ -2,7 +2,7 @@
# (C) Copyright Zack Rusin 2005. All Rights Reserved.
# Copyright (C) 2015 Intel Corporation
# Copyright (C) 2015 Broadcom Corporation
-#
+#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
@@ -53,7 +53,6 @@ class PrintGlEnums(gl_XML.gl_print_base):
print('#include <stdio.h>')
print('#include "main/glheader.h"')
print('#include "main/enums.h"')
- print('#include "util/imports.h"')
print('#include "main/mtypes.h"')
print('')
print('typedef struct PACKED {')
diff --git a/src/mapi/glapi/gen/gl_genexec.py b/src/mapi/glapi/gen/gl_genexec.py
index 0309ae58465..cb70782da2c 100644
--- a/src/mapi/glapi/gen/gl_genexec.py
+++ b/src/mapi/glapi/gen/gl_genexec.py
@@ -89,7 +89,6 @@ header = """/**
#include "main/genmipmap.h"
#include "main/hint.h"
#include "main/histogram.h"
-#include "util/imports.h"
#include "main/light.h"
#include "main/lines.h"
#include "main/matrix.h"
diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py
index e9fc0538cbe..cbd7cf5dbf7 100644
--- a/src/mapi/glapi/gen/gl_table.py
+++ b/src/mapi/glapi/gen/gl_table.py
@@ -103,6 +103,7 @@ class PrintRemapTable(gl_XML.gl_print_base):
#include "main/glheader.h"
""")
+ print('#include "main/glheader.h"')
return