1 diff -ur a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp
2 --- a/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp 2021-09-28 11:02:26.000000000 +0100
3 +++ b/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp 2021-10-29 23:30:44.714768031 +0100
6 #ifdef _IRR_OPENGL_USE_EXTPOINTER_
7 #define GLX_GLXEXT_PROTOTYPES
9 +#include <GL/glxext.h>
13 diff -ur a/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h b/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h
14 --- a/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h 2021-09-28 11:02:26.000000000 +0100
15 +++ b/lib/irrlicht/source/Irrlicht/COpenGLExtensionHandler.h 2021-10-29 23:30:44.715768059 +0100
19 #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
21 + #include <GL/glext.h>
27 #include <OpenGL/gl.h>
28 #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
30 + #include <GL/glext.h>
34 diff -ur a/lib/irrlicht/source/Irrlicht/COpenGLSLMaterialRenderer.h b/lib/irrlicht/source/Irrlicht/COpenGLSLMaterialRenderer.h
35 --- a/lib/irrlicht/source/Irrlicht/COpenGLSLMaterialRenderer.h 2021-09-28 11:02:26.000000000 +0100
36 +++ b/lib/irrlicht/source/Irrlicht/COpenGLSLMaterialRenderer.h 2021-10-29 23:30:44.715768059 +0100
38 #define WIN32_LEAN_AND_MEAN
42 + #include <GL/glext.h>
44 #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
45 #define GL_GLEXT_LEGACY 1
49 #if defined(_IRR_OPENGL_USE_EXTPOINTER_)
51 + #include <GL/glext.h>