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
1 changed files with 4 additions and 0 deletions
|
@ -2,7 +2,11 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
#ifdef _WIN32
|
||||||
#include <libusb.h>
|
#include <libusb.h>
|
||||||
|
#else
|
||||||
|
#include <libusb-1.0/libusb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "common/param_package.h"
|
#include "common/param_package.h"
|
||||||
|
|
Loading…
Reference in a new issue