diff options
author | Lioncash <mathew1800@gmail.com> | 2019-06-03 15:50:04 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-06-03 16:56:42 -0400 |
commit | cf0d01a5d775f318f7cf1045a2a2a792b15111e6 (patch) | |
tree | 217e56818f84256f82df7137d8ffa24a2c1682b2 /src/input_common/sdl/sdl_impl.h | |
parent | 00f0827a26f5dc13ff90920975fe0cf749b06bb3 (diff) |
input_common/sdl: Remove unused header includes and forward declarations
Gets rid of a few unnecessary inclusion dependencies. It also uncovered
a few indirect inclusion dependencies being relied upon.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.h')
-rw-r--r-- | src/input_common/sdl/sdl_impl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/input_common/sdl/sdl_impl.h b/src/input_common/sdl/sdl_impl.h index 2579741d65..fadcf3139e 100644 --- a/src/input_common/sdl/sdl_impl.h +++ b/src/input_common/sdl/sdl_impl.h @@ -6,7 +6,10 @@ #include <atomic> #include <memory> +#include <mutex> #include <thread> +#include <unordered_map> +#include "common/common_types.h" #include "common/threadsafe_queue.h" #include "input_common/sdl/sdl.h" @@ -16,9 +19,9 @@ using SDL_JoystickID = s32; namespace InputCommon::SDL { -class SDLJoystick; -class SDLButtonFactory; class SDLAnalogFactory; +class SDLButtonFactory; +class SDLJoystick; class SDLState : public State { public: |