#include <simgear/compiler.h>
-#if !defined(WIN32)
-# include SG_GLX_H
-#endif
-#include SG_GL_H
+#include <osg/GL>
+#if !defined(__APPLE__) && !defined(WIN32)
+# include <GL/glx.h>
+#endif
#if defined(__cplusplus)
extern "C" {
#endif
bool SGSearchExtensionsString(const char *extString, const char *extName);
-bool SGIsOpenGLExtensionSupported(char *extName);
+bool SGIsOpenGLExtensionSupported(const char *extName);
#ifdef __APPLE__
// don't use an inline function for symbol lookup, since it is too big