diff --git a/channels/urbdrc/client/libusb/libusb_udevman.c b/channels/urbdrc/client/libusb/libusb_udevman.c index 74e86b5a2..b7c894016 100644 --- a/channels/urbdrc/client/libusb/libusb_udevman.c +++ b/channels/urbdrc/client/libusb/libusb_udevman.c @@ -34,7 +34,7 @@ #include "libusb_udevice.h" -#if LIBUSB_API_VERSION < 0x01000102 +#if !defined(LIBUSB_API_VERSION) || (LIBUSB_API_VERSION < 0x01000102) #define LIBUSB_HOTPLUG_NO_FLAGS 0 #endif