mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-25 08:31:56 +00:00
trivial: Fix a warning when compiling without USB support
This commit is contained in:
parent
3291bd40ce
commit
165c0278bb
@ -10,9 +10,9 @@
|
||||
#ifdef HAVE_GUSB
|
||||
#include <gusb.h>
|
||||
#else
|
||||
#define GUsbContext GObject
|
||||
#define GUsbDevice GObject
|
||||
#ifndef __GI_SCANNER__
|
||||
typedef GObject GUsbContext;
|
||||
typedef GObject GUsbDevice;
|
||||
#define G_USB_CHECK_VERSION(a, c, b) 0
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user