diff --git a/libfwupdplugin/fu-usb-device.h b/libfwupdplugin/fu-usb-device.h index 19e1c935e..d7316fb00 100644 --- a/libfwupdplugin/fu-usb-device.h +++ b/libfwupdplugin/fu-usb-device.h @@ -10,9 +10,9 @@ #ifdef HAVE_GUSB #include #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