diff options
Diffstat (limited to 'xorg-server/glx/glheader.h')
-rw-r--r-- | xorg-server/glx/glheader.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/xorg-server/glx/glheader.h b/xorg-server/glx/glheader.h index 1c0ee2c9e..cb8d6922a 100644 --- a/xorg-server/glx/glheader.h +++ b/xorg-server/glx/glheader.h @@ -14,11 +14,25 @@ #define MINSHORT -32768
#define MAXSHORT 32767
+#ifndef PUBLIC
#define PUBLIC
+#endif
#define GL_GLEXT_PROTOTYPES
+#ifdef __cplusplus
+extern "C" {
+#endif
+
-#define DRI_DRIVER_PATH "/usr/lib/dri"
+/**
+ * GL_FIXED is defined in glext.h version 64 but these typedefs aren't (yet).
+ */
+typedef int GLfixed;
+typedef int GLclampx;
+
+#ifdef __cplusplus
+}
+#endif
#endif
|