diff options
Diffstat (limited to 'usrp/host/lib/fusb.h')
-rw-r--r-- | usrp/host/lib/fusb.h | 8 |
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). */ |