diff options
-rw-r--r-- | editor/precomp.hpp | 1 | ||||
-rw-r--r-- | main/precomp.hpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/editor/precomp.hpp b/editor/precomp.hpp index b1652eaf..f309133a 100644 --- a/editor/precomp.hpp +++ b/editor/precomp.hpp @@ -2,6 +2,7 @@ #include "src/precomp.hpp" #include <cstdlib> + #include <Corrade/Utility/Arguments.h> #include <Magnum/Math/Color.h> 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 |