*
**************************************************************************/
+/*
+ * Central place for all GL includes, and respective OS dependent headers.
+ */
+
#ifndef _GLIMPORTS_HPP_
#define _GLIMPORTS_HPP_
#include <GL/gl.h>
-#include "glext.h"
+#include <GL/glext.h>
#ifndef GL_TEXTURE_INDEX_SIZE_EXT
#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
#ifdef WIN32
-#include "wglext.h"
+#include <GL/wglext.h>
#define GLAPIENTRY __stdcall
#ifdef __MINGW32__
+extern "C"
typedef struct _WGLSWAP
{
HDC hdc;
#else /* !WIN32 */
#include <GL/glx.h>
-#include "glxext.h"
+#include <GL/glext.h>
+
+/* Prevent collision with Trace::Bool */
+#undef Bool
#endif /* !WIN32 */