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:
parent
16b7fd71a0
commit
f72f4377f4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user