summaryrefslogtreecommitdiffhomepage
path: root/main/precomp.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/precomp.hpp')
-rw-r--r--main/precomp.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/precomp.hpp b/main/precomp.hpp
index 3d4db648..734fc72b 100644
--- a/main/precomp.hpp
+++ b/main/precomp.hpp
@@ -12,6 +12,8 @@
#include <Magnum/GL/RenderbufferFormat.h>
#include <Magnum/Platform/Sdl2Application.h>
+#if __has_include(<SDL.h>)
#include <SDL_keycode.h>
#include <SDL_mouse.h>
#include <SDL_events.h>
+#endif