summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/render/openglx/mglxinit.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/openglx/mglxinit.cpp b/src/render/openglx/mglxinit.cpp
index ffbebc47f..d83872871 100644
--- a/src/render/openglx/mglxinit.cpp
+++ b/src/render/openglx/mglxinit.cpp
@@ -26,6 +26,10 @@
#include "render/openglx/mglx.h"
+#ifdef USE_SDL2
+#include <SDL_video.h>
+#endif
+
#include "debug.h"
void Glx::initFunctions()