mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-26 04:46:55 +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
|
#ifdef HAVE_GUSB
|
||||||
#include <gusb.h>
|
#include <gusb.h>
|
||||||
#else
|
#else
|
||||||
|
#define GUsbContext GObject
|
||||||
|
#define GUsbDevice GObject
|
||||||
#ifndef __GI_SCANNER__
|
#ifndef __GI_SCANNER__
|
||||||
typedef GObject GUsbContext;
|
|
||||||
typedef GObject GUsbDevice;
|
|
||||||
#define G_USB_CHECK_VERSION(a, c, b) 0
|
#define G_USB_CHECK_VERSION(a, c, b) 0
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user