diff -up irrlicht-1.8/source/Irrlicht/COpenGLExtensionHandler.h.glext irrlicht-1.8/source/Irrlicht/COpenGLExtensionHandler.h
--- irrlicht-1.8/source/Irrlicht/COpenGLExtensionHandler.h.glext	2012-11-03 18:07:56.000000000 -0400
+++ irrlicht-1.8/source/Irrlicht/COpenGLExtensionHandler.h	2012-11-13 12:48:52.120896690 -0500
@@ -49,7 +49,7 @@
 	#define NO_SDL_GLEXT
 	#include <SDL/SDL_video.h>
 	#include <SDL/SDL_opengl.h>
-	#include "glext.h"
+	#include <GL/glext.h>
 #else
 	#if defined(_IRR_OPENGL_USE_EXTPOINTER_)
 		#define GL_GLEXT_LEGACY 1
@@ -61,9 +61,10 @@
 	#include <GL/gl.h>
 	#include <GL/glx.h>
 	#if defined(_IRR_OPENGL_USE_EXTPOINTER_)
-	#include "glext.h"
+	#include <GL/glext.h>
+	 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
 	#undef GLX_ARB_get_proc_address // avoid problems with local glxext.h
-	#include "glxext.h"
+	#include <GL/glxext.h>
 	#endif
 #endif
 
