Commonized more usrp_prims code and renamed libusb-0.12 files to libusb0
[debian/gnuradio] / usrp / host / lib / fusb.h
index 341e570a431a92b676163e5176ab7c54ffb0dea2..2ff7dc89fa529eacdbb8b47c47f2754a48bd0bc5 100644 (file)
 #ifndef _FUSB_H_
 #define _FUSB_H_
 
+/*
+ * This is bad, but it works for now. The fusb header files are not installed.
+ */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -33,7 +37,7 @@
 struct  libusb_device_handle;
 #else
 struct usb_dev_handle;
-typedef struct usb_dev_handle libusb_device_handle;
+typedef usb_dev_handle libusb_device_handle;
 #endif
 
 struct         libusb_context;