summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Lioncash2022-01-24 11:42:05 -0500
committerGravatar Lioncash2022-01-24 11:49:31 -0500
commit0849be094e8bd55ee9d81bcc545238af134410e7 (patch)
tree860a7fba847d80fc8f47db4e1b80338945cce395
parentinput_common/input_mapping: Remove const from return value (diff)
downloadyuzu-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.cpp1
-rw-r--r--src/input_common/input_mapping.h6
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
10namespace InputCommon::Polling {
11enum class InputType;
12}
13
8namespace InputCommon { 14namespace InputCommon {
9class InputEngine; 15class InputEngine;
10struct MappingData; 16struct MappingData;