diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-09-15 11:47:23 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-09-15 11:48:55 +0200 |
commit | 8be2ef0fae96e830d7ab5bd74e0d51a663e46d24 (patch) | |
tree | 0206d0c1669ff518f8aa8155a5ccf89a5c369810 | |
parent | 733ffffe44ad93bd81feddb0a8072510fd7a8321 (diff) | |
download | libusb-8be2ef0fae96e830d7ab5bd74e0d51a663e46d24.tar.gz |
Fix darwin compilation broken by the usbi_get_device_by_session_id changes
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | libusb/os/darwin_usb.c | 2 | ||||
-rw-r--r-- | 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 |