1
0
Fork 1
forked from suyu/suyu

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

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"