From 0849be094e8bd55ee9d81bcc545238af134410e7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 24 Jan 2022 11:42:05 -0500 Subject: input_common/input_mapping: Add missing includes Ensures that the class always sees the types it needs. --- src/input_common/input_mapping.cpp | 1 - src/input_common/input_mapping.h | 6 ++++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src/input_common') 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 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included -#include "common/common_types.h" #include "common/settings.h" #include "input_common/input_engine.h" #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 @@ // Refer to the license.txt file included #pragma once + +#include "common/param_package.h" #include "common/threadsafe_queue.h" +namespace InputCommon::Polling { +enum class InputType; +} + namespace InputCommon { class InputEngine; struct MappingData; -- cgit v1.2.3