first shot at re-adding libusb-0.12 support
[debian/gnuradio] / usrp / host / lib / fusb.h
index fbd651204a5121a47890af1588f01a0d7b646093..24d2bee6ec1d8c3a2068af71f6ef1fe9c014912c 100644 (file)
 #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).
    */