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.
master
Levi Behunin 2022-05-02 01:46:48 +07: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

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