summaryrefslogtreecommitdiffstats
path: root/src/usb-device.h
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2016-01-11 08:41:58 +0100
committerPali Rohár <pali.rohar@gmail.com>2016-01-23 16:06:12 +0100
commitd5028a12ca539638a6ae5d923e7dba0e4f30a45a (patch)
tree5ceb547c5141d09a8ac8e2523c73ea1be5bcbe37 /src/usb-device.h
parent6482e4d2b7a2cb641b7d9461db11d3b0578f8e70 (diff)
download0xFFFF-d5028a12ca539638a6ae5d923e7dba0e4f30a45a.tar.bz2
all: Switch to libusb-1.0
libusb 0.1 is deprecated. This updates 0xFFFF to use the newer libusb 1.0 API instead.
Diffstat (limited to 'src/usb-device.h')
-rw-r--r--src/usb-device.h4
1 files changed, 2 insertions, 2 deletions
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 <usb.h>
+#include <libusb-1.0/libusb.h>
#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;
};