diff options
| author | 2022-05-02 01:46:48 -0600 | |
|---|---|---|
| committer | 2022-05-02 03:46:48 -0400 | |
| commit | f72f4377f4cbbe45e5a43bb67c7245737ffa135f (patch) | |
| tree | 7028b08a6bda7ca34393159f58631804a56e89e6 | |
| parent | Merge pull request #8293 from Docteh/translate_network (diff) | |
| download | yuzu-f72f4377f4cbbe45e5a43bb67c7245737ffa135f.tar.gz yuzu-f72f4377f4cbbe45e5a43bb67c7245737ffa135f.tar.xz yuzu-f72f4377f4cbbe45e5a43bb67c7245737ffa135f.zip | |
gc_adapter: fix libusb import on GCC11.2
Just to silence an intermittent error.
GCC11.2 complains cannot find 'libusb.h' during a fresh build.
Diffstat (limited to '')
| -rw-r--r-- | src/input_common/drivers/gc_adapter.cpp | 4 |
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 @@ | |||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | 3 | ||
| 4 | #include <fmt/format.h> | 4 | #include <fmt/format.h> |
| 5 | #ifdef _WIN32 | ||
| 5 | #include <libusb.h> | 6 | #include <libusb.h> |
| 7 | #else | ||
| 8 | #include <libusb-1.0/libusb.h> | ||
| 9 | #endif | ||
| 6 | 10 | ||
| 7 | #include "common/logging/log.h" | 11 | #include "common/logging/log.h" |
| 8 | #include "common/param_package.h" | 12 | #include "common/param_package.h" |