2020-06-24 03:59:16 +08:00
|
|
|
diff --git a/channels/urbdrc/client/libusb/libusb_udevman.c b/channels/urbdrc/client/libusb/libusb_udevman.c
|
2022-12-15 02:55:29 +08:00
|
|
|
index 5f1e9e0d2..022be4e21 100644
|
2020-06-24 03:59:16 +08:00
|
|
|
--- a/channels/urbdrc/client/libusb/libusb_udevman.c
|
|
|
|
+++ b/channels/urbdrc/client/libusb/libusb_udevman.c
|
2022-12-15 02:55:29 +08:00
|
|
|
@@ -581,7 +581,7 @@ static BOOL device_is_filtered(struct libusb_device* dev,
|
2020-06-24 03:59:16 +08:00
|
|
|
return filtered;
|
|
|
|
}
|
|
|
|
|
|
|
|
-static int hotplug_callback(struct libusb_context* ctx, struct libusb_device* dev,
|
|
|
|
+static int LIBUSB_CALL hotplug_callback(struct libusb_context* ctx, struct libusb_device* dev,
|
|
|
|
libusb_hotplug_event event, void* user_data)
|
|
|
|
{
|
|
|
|
VID_PID_PAIR pair;
|