yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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.
This commit is contained in:
Levi Behunin 2022-05-02 01:46:48 -06:00 committed by GitHub
parent 16b7fd71a0
commit f72f4377f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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"