diff --git a/gfx/drivers_context/x_ctx.c b/gfx/drivers_context/x_ctx.c index cd02af7894..6428a1f8e7 100644 --- a/gfx/drivers_context/x_ctx.c +++ b/gfx/drivers_context/x_ctx.c @@ -25,6 +25,7 @@ #if defined(HAVE_OPENGL) || defined(HAVE_OPENGL1) || defined(HAVE_OPENGL_CORE) #include <GL/glx.h> +#include <glsym/rglgen.h> #ifndef GLX_SAMPLE_BUFFERS #define GLX_SAMPLE_BUFFERS 100000