summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/x11/window-system1.c
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-10 14:28:03 +0200
committerMichael Bien <[email protected]>2010-06-10 14:28:03 +0200
commit2522d4f1ebffec030d7e8c3688e5f952c574c3d0 (patch)
tree81d631cb11dadc483a4615996dedf773eed083da /make/stub_includes/x11/window-system1.c
parent57d3d3f9f9475ae167cd9d33c9450eea66439fd2 (diff)
parent1d333a771ce0bc7c8594e21d031703f698f06a46 (diff)
Merge branch 'master' of github.com:sgothel/jogl
Diffstat (limited to 'make/stub_includes/x11/window-system1.c')
-rw-r--r--make/stub_includes/x11/window-system1.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/make/stub_includes/x11/window-system1.c b/make/stub_includes/x11/window-system1.c
new file mode 100644
index 000000000..e718aee97
--- /dev/null
+++ b/make/stub_includes/x11/window-system1.c
@@ -0,0 +1,14 @@
+// Define GLX_GLXEXT_PROTOTYPES so that the OpenGL GLX extension prototypes in
+// "glxext.h" are parsed.
+#define GLX_GLXEXT_PROTOTYPES
+
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <GL/glx.h>
+
+// Routines needed from Xlib.h and Xutil.h (placed here to avoid having
+// XVisualInfo generated multiple times)
+#ifndef _Xconst
+#define _Xconst const
+#endif /* _Xconst */
+