From 8be2ef0fae96e830d7ab5bd74e0d51a663e46d24 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 15 Sep 2013 11:47:23 +0200 Subject: [PATCH] Fix darwin compilation broken by the usbi_get_device_by_session_id changes Signed-off-by: Hans de Goede --- libusb/os/darwin_usb.c | 2 +- libusb/version_nano.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libusb/os/darwin_usb.c b/libusb/os/darwin_usb.c index d0350fb..204e1ef 100644 --- a/libusb/os/darwin_usb.c +++ b/libusb/os/darwin_usb.c @@ -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); } } diff --git a/libusb/version_nano.h b/libusb/version_nano.h index 995c478..da8a87c 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 10834 +#define LIBUSB_NANO 10835 -- 2.11.4.GIT