From d5028a12ca539638a6ae5d923e7dba0e4f30a45a Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Mon, 11 Jan 2016 08:41:58 +0100 Subject: all: Switch to libusb-1.0 libusb 0.1 is deprecated. This updates 0xFFFF to use the newer libusb 1.0 API instead. --- src/usb-device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/usb-device.h') diff --git a/src/usb-device.h b/src/usb-device.h index 850c550..9b2bcc4 100644 --- a/src/usb-device.h +++ b/src/usb-device.h @@ -20,7 +20,7 @@ #ifndef USB_DEVICE_H #define USB_DEVICE_H -#include +#include #include "device.h" @@ -47,7 +47,7 @@ struct usb_device_info { enum device device; int16_t hwrev; const struct usb_flash_device * flash_device; - usb_dev_handle * udev; + libusb_device_handle * udev; int data; }; -- cgit v1.2.3