diff --git a/Windows/DinputDevice.cpp b/Windows/DinputDevice.cpp index beba28c668..1c8a71feda 100644 --- a/Windows/DinputDevice.cpp +++ b/Windows/DinputDevice.cpp @@ -20,7 +20,6 @@ #include "input/input_state.h" #include "Core/Reporting.h" #include "Xinput.h" -#pragma comment(lib,"dxguid.lib") #pragma comment(lib,"dinput8.lib") static const unsigned int dinput_ctrl_map[] = { diff --git a/Windows/DinputDevice.h b/Windows/DinputDevice.h index f703908aa2..dfff31e552 100644 --- a/Windows/DinputDevice.h +++ b/Windows/DinputDevice.h @@ -16,6 +16,7 @@ // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. #pragma once +#include #define DIRECTINPUT_VERSION 0x0800 #include "InputDevice.h" #include "dinput.h"