aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesalib/src/mapi/glapi/gen/gl_table.py1
-rw-r--r--xorg-server/glx/dispatch.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mapi/glapi/gen/gl_table.py b/mesalib/src/mapi/glapi/gen/gl_table.py
index 7bffc52ce..67ee5e813 100644
--- a/mesalib/src/mapi/glapi/gen/gl_table.py
+++ b/mesalib/src/mapi/glapi/gen/gl_table.py
@@ -81,6 +81,7 @@ class PrintRemapTable(gl_XML.gl_print_base):
def printRealHeader(self):
print """
+#include "glapitable.h"
/**
* \\file main/dispatch.h
* Macros for handling GL dispatch tables.
diff --git a/xorg-server/glx/dispatch.h b/xorg-server/glx/dispatch.h
index 56d7321b1..1589f9877 100644
--- a/xorg-server/glx/dispatch.h
+++ b/xorg-server/glx/dispatch.h
@@ -29,6 +29,7 @@
# define _DISPATCH_H_
+#include "glapitable.h"
/**
* \file main/dispatch.h
* Macros for handling GL dispatch tables.