Browse Source

hid: Move core include to cpp file

This isn't required to be in the header. Instead, directly include what
this header needs and move it to the cpp file where it belongs.
Lioncash 8 năm trước cách đây
mục cha
commit
ec59e4a6c5
2 tập tin đã thay đổi với 4 bổ sung1 xóa
  1. 1 0
      src/core/hle/service/hid/hid.cpp
  2. 3 1
      src/core/hle/service/hid/hid.h

+ 1 - 0
src/core/hle/service/hid/hid.cpp

@@ -17,6 +17,7 @@
 #include "core/hle/service/hid/irs.h"
 #include "core/hle/service/hid/xcd.h"
 #include "core/hle/service/service.h"
+#include "core/settings.h"
 
 namespace Service::HID {
 

+ 3 - 1
src/core/hle/service/hid/hid.h

@@ -4,8 +4,10 @@
 
 #pragma once
 
+#include <array>
+#include "common/bit_field.h"
+#include "common/common_types.h"
 #include "core/hle/service/service.h"
-#include "core/settings.h"
 
 namespace Service::HID {