VERY experimental Nintendo Switch 2 emulator
C++
gc_adapter: fix libusb import on GCC11.2
Levi Behunin6e1eea8897a0
diff --git a/src/input_common/drivers/gc_adapter.cpp b/src/input_common/drivers/gc_adapter.cppindex 27a0ffb0dc..a2880b9be2 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"