diff options
author | marha <marha@users.sourceforge.net> | 2011-11-07 08:32:50 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-11-07 08:32:50 +0100 |
commit | 09c0aa163ab00fcf51c0a217c5efec55e32361d6 (patch) | |
tree | c1f2b2aa01c25a2d1f8aae0f459fd51523715ab4 /mesalib/src/mapi/glapi/gen/glX_proto_recv.py | |
parent | af3f3672e5f77a06a24b1e648ee118f1420b45ae (diff) | |
download | vcxsrv-09c0aa163ab00fcf51c0a217c5efec55e32361d6.tar.gz vcxsrv-09c0aa163ab00fcf51c0a217c5efec55e32361d6.tar.bz2 vcxsrv-09c0aa163ab00fcf51c0a217c5efec55e32361d6.zip |
Synchronised files
Diffstat (limited to 'mesalib/src/mapi/glapi/gen/glX_proto_recv.py')
-rw-r--r-- | mesalib/src/mapi/glapi/gen/glX_proto_recv.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mesalib/src/mapi/glapi/gen/glX_proto_recv.py b/mesalib/src/mapi/glapi/gen/glX_proto_recv.py index 10b4e368d..190ba8132 100644 --- a/mesalib/src/mapi/glapi/gen/glX_proto_recv.py +++ b/mesalib/src/mapi/glapi/gen/glX_proto_recv.py @@ -77,6 +77,14 @@ class PrintGlxDispatchFunctions(glX_proto_common.glx_print_proto): def printRealHeader(self):
+ print '#ifdef HAVE_DIX_CONFIG_H'
+ print '#include <dix-config.h>'
+ print '#else'
+ print ''
+ print '#include "glheader.h"'
+ print ''
+ print '#endif'
+ print ''
print '#include <X11/Xmd.h>'
print '#include <GL/gl.h>'
print '#include <GL/glxproto.h>'
@@ -92,7 +100,7 @@ class PrintGlxDispatchFunctions(glX_proto_common.glx_print_proto): print '#include "glapi.h"'
print '#include "glapitable.h"'
print '#include "glthread.h"'
- print '#include "glapidispatch.h"'
+ print '#include "dispatch.h"'
print ''
print '#define __GLX_PAD(x) (((x) + 3) & ~3)'
print ''
|