Fix darwin compilation broken by the usbi_get_device_by_session_id changes

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede
2013-09-15 11:47:23 +02:00
parent 733ffffe44
commit 8be2ef0fae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ static void darwin_devices_detached (void *ptr, io_iterator_t rem_devices) {
/* signal the core that this device has been disconnected. the core will tear down this device
when the reference count reaches 0 */
usbi_disconnect_device(dev);
usb_unref_device(dev);
libusb_unref_device(dev);
}
}
+1 -1
View File
@@ -1 +1 @@
#define LIBUSB_NANO 10834
#define LIBUSB_NANO 10835