aboutsummaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-06-11 18:11:08 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-06-11 18:11:08 +0000
commit2ac7526b2441308981b13ba1701124137b307c7a (patch)
tree48252f8c0afefecd7ec64627d18a88091d337183 /devel/android-tools-fastboot
parent41bd0097220815342ac2585cafc1c29b16dfd0a5 (diff)
downloadports-2ac7526b2441308981b13ba1701124137b307c7a.tar.gz
ports-2ac7526b2441308981b13ba1701124137b307c7a.zip
devel/android-tools-fastboot: unbreak against libusb-1.0.9 from sf.net
inb4 someone actually tests on NetBSD or OpenBSD... files/usb_freebsd.c:57:2: error: must use 'struct' tag to refer to type 'libusb_device_descriptor' libusb_device_descriptor ddesc; ^ struct files/usb_freebsd.c:58:2: error: must use 'struct' tag to refer to type 'libusb_config_descriptor' libusb_config_descriptor *pcfg; ^ struct 2 errors generated. Tested by: md5
Notes
Notes: svn path=/head/; revision=389234
Diffstat (limited to 'devel/android-tools-fastboot')
-rw-r--r--devel/android-tools-fastboot/files/usb_freebsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/android-tools-fastboot/files/usb_freebsd.c b/devel/android-tools-fastboot/files/usb_freebsd.c
index be1fcfe0a3d1..45f11c62309d 100644
--- a/devel/android-tools-fastboot/files/usb_freebsd.c
+++ b/devel/android-tools-fastboot/files/usb_freebsd.c
@@ -54,8 +54,8 @@ static int
probe(struct usb_handle *h, ifc_match_func callback)
{
struct usb_ifc_info info;
- libusb_device_descriptor ddesc;
- libusb_config_descriptor *pcfg;
+ struct libusb_device_descriptor ddesc;
+ struct libusb_config_descriptor *pcfg;
int i, j;
if (libusb_open(h->dev, &h->handle) < 0)