summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/gc_adapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/drivers/gc_adapter.cpp')
-rw-r--r--src/input_common/drivers/gc_adapter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input_common/drivers/gc_adapter.cpp b/src/input_common/drivers/gc_adapter.cpp
index 27a0ffb0d..a2880b9be 100644
--- a/src/input_common/drivers/gc_adapter.cpp
+++ b/src/input_common/drivers/gc_adapter.cpp
@@ -2,7 +2,11 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include <fmt/format.h>
+#ifdef _WIN32
#include <libusb.h>
+#else
+#include <libusb-1.0/libusb.h>
+#endif
#include "common/logging/log.h"
#include "common/param_package.h"