summaryrefslogtreecommitdiff
path: root/usrp/host/lib/fusb.h
diff options
context:
space:
mode:
authorttsou2009-08-27 18:13:54 -0400
committerttsou2009-09-15 18:06:27 -0400
commitc62085a66bd97f389f49167492f7dccfb0b02976 (patch)
treea6e2c41f417faa0ef5b1e37e0af006d5d56f46af /usrp/host/lib/fusb.h
parentbdec6a37a474b961389e0ac590d0582e490ffb2c (diff)
downloadgnuradio-c62085a66bd97f389f49167492f7dccfb0b02976.tar.gz
gnuradio-c62085a66bd97f389f49167492f7dccfb0b02976.tar.bz2
gnuradio-c62085a66bd97f389f49167492f7dccfb0b02976.zip
first shot at re-adding libusb-0.12 support
Diffstat (limited to 'usrp/host/lib/fusb.h')
-rw-r--r--usrp/host/lib/fusb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/usrp/host/lib/fusb.h b/usrp/host/lib/fusb.h
index fbd651204..24d2bee6e 100644
--- a/usrp/host/lib/fusb.h
+++ b/usrp/host/lib/fusb.h
@@ -26,7 +26,13 @@
#define _FUSB_H_
+#if 1
+struct usb_dev_handle;
+typedef struct usb_dev_handle libusb_device_handle;
+#else
struct libusb_device_handle;
+#endif
+
struct libusb_context;
class fusb_ephandle;
@@ -120,6 +126,8 @@ public:
static fusb_devhandle *make_devhandle (libusb_device_handle *udh,
libusb_context *ctx);
+ static fusb_devhandle *make_devhandle (libusb_device_handle *udh);
+
/*!
* \brief Returns max block size in bytes (hard limit).
*/