diff options
| author | 2022-01-24 11:42:05 -0500 | |
|---|---|---|
| committer | 2022-01-24 11:49:31 -0500 | |
| commit | 0849be094e8bd55ee9d81bcc545238af134410e7 (patch) | |
| tree | 860a7fba847d80fc8f47db4e1b80338945cce395 | |
| parent | input_common/input_mapping: Remove const from return value (diff) | |
| download | yuzu-0849be094e8bd55ee9d81bcc545238af134410e7.tar.gz yuzu-0849be094e8bd55ee9d81bcc545238af134410e7.tar.xz yuzu-0849be094e8bd55ee9d81bcc545238af134410e7.zip | |
input_common/input_mapping: Add missing includes
Ensures that the class always sees the types it needs.
Diffstat (limited to '')
| -rw-r--r-- | src/input_common/input_mapping.cpp | 1 | ||||
| -rw-r--r-- | src/input_common/input_mapping.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/input_common/input_mapping.cpp b/src/input_common/input_mapping.cpp index 263c24771..02c7ccff7 100644 --- a/src/input_common/input_mapping.cpp +++ b/src/input_common/input_mapping.cpp | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | // Licensed under GPLv2 or any later version | 2 | // Licensed under GPLv2 or any later version |
| 3 | // Refer to the license.txt file included | 3 | // Refer to the license.txt file included |
| 4 | 4 | ||
| 5 | #include "common/common_types.h" | ||
| 6 | #include "common/settings.h" | 5 | #include "common/settings.h" |
| 7 | #include "input_common/input_engine.h" | 6 | #include "input_common/input_engine.h" |
| 8 | #include "input_common/input_mapping.h" | 7 | #include "input_common/input_mapping.h" |
diff --git a/src/input_common/input_mapping.h b/src/input_common/input_mapping.h index aac9aee64..e0dfbc7ad 100644 --- a/src/input_common/input_mapping.h +++ b/src/input_common/input_mapping.h | |||
| @@ -3,8 +3,14 @@ | |||
| 3 | // Refer to the license.txt file included | 3 | // Refer to the license.txt file included |
| 4 | 4 | ||
| 5 | #pragma once | 5 | #pragma once |
| 6 | |||
| 7 | #include "common/param_package.h" | ||
| 6 | #include "common/threadsafe_queue.h" | 8 | #include "common/threadsafe_queue.h" |
| 7 | 9 | ||
| 10 | namespace InputCommon::Polling { | ||
| 11 | enum class InputType; | ||
| 12 | } | ||
| 13 | |||
| 8 | namespace InputCommon { | 14 | namespace InputCommon { |
| 9 | class InputEngine; | 15 | class InputEngine; |
| 10 | struct MappingData; | 16 | struct MappingData; |