summaryrefslogtreecommitdiffstats
path: root/src/input_common/gcadapter
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-07-13 20:48:19 +0200
committerJan Beich <jbeich@FreeBSD.org>2020-07-13 20:48:19 +0200
commit883fab2fff5ff9bdad38eee4e55bacc520ce0cc9 (patch)
tree63d754c60cb1962440a9c2fad52a4d19924b1434 /src/input_common/gcadapter
parentcmake: pass libusb include directory as well (diff)
downloadyuzu-883fab2fff5ff9bdad38eee4e55bacc520ce0cc9.tar
yuzu-883fab2fff5ff9bdad38eee4e55bacc520ce0cc9.tar.gz
yuzu-883fab2fff5ff9bdad38eee4e55bacc520ce0cc9.tar.bz2
yuzu-883fab2fff5ff9bdad38eee4e55bacc520ce0cc9.tar.lz
yuzu-883fab2fff5ff9bdad38eee4e55bacc520ce0cc9.tar.xz
yuzu-883fab2fff5ff9bdad38eee4e55bacc520ce0cc9.tar.zst
yuzu-883fab2fff5ff9bdad38eee4e55bacc520ce0cc9.zip
Diffstat (limited to 'src/input_common/gcadapter')
-rw-r--r--src/input_common/gcadapter/gc_adapter.cpp1
-rw-r--r--src/input_common/gcadapter/gc_adapter.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.cpp b/src/input_common/gcadapter/gc_adapter.cpp
index 6d9f4d9eb..c031fc22a 100644
--- a/src/input_common/gcadapter/gc_adapter.cpp
+++ b/src/input_common/gcadapter/gc_adapter.cpp
@@ -4,6 +4,7 @@
#include <chrono>
#include <thread>
+#include <libusb.h>
#include "common/logging/log.h"
#include "input_common/gcadapter/gc_adapter.h"
diff --git a/src/input_common/gcadapter/gc_adapter.h b/src/input_common/gcadapter/gc_adapter.h
index b1c2a1958..1337c260e 100644
--- a/src/input_common/gcadapter/gc_adapter.h
+++ b/src/input_common/gcadapter/gc_adapter.h
@@ -8,10 +8,13 @@
#include <mutex>
#include <thread>
#include <unordered_map>
-#include <libusb.h>
#include "common/common_types.h"
#include "common/threadsafe_queue.h"
+struct libusb_context;
+struct libusb_device;
+struct libusb_device_handle;
+
namespace GCAdapter {
enum {