diff --git a/src/common/input/InputWindow.cpp b/src/common/input/InputWindow.cpp index 0cf336175..73f940eff 100644 --- a/src/common/input/InputWindow.cpp +++ b/src/common/input/InputWindow.cpp @@ -33,6 +33,7 @@ #include "EmuShared.h" #include "Logging.h" #include +#include constexpr ControlState INPUT_DETECT_THRESHOLD = 0.35; // NOTE: this should probably be made user configurable diff --git a/src/gui/input/DlgLibusbControllerConfig.cpp b/src/gui/input/DlgLibusbControllerConfig.cpp index 707788fcc..e95c49fb4 100644 --- a/src/gui/input/DlgLibusbControllerConfig.cpp +++ b/src/gui/input/DlgLibusbControllerConfig.cpp @@ -31,6 +31,7 @@ #include "gui\resource\ResCxbx.h" #include "input\InputWindow.h" #include "common\input\LibusbDevice.h" +#include static LibusbInputWindow *g_InputWindow = nullptr;