diff options
Diffstat (limited to 'make/stub_includes/x11/window-system.c')
-rw-r--r-- | make/stub_includes/x11/window-system.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/make/stub_includes/x11/window-system.c b/make/stub_includes/x11/window-system.c new file mode 100644 index 000000000..e718aee97 --- /dev/null +++ b/make/stub_includes/x11/window-system.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 */ + |