Added autotools header generation and build time version checking
[debian/gnuradio] / usrp / host / lib / fusb.h
index 24d2bee6ec1d8c3a2068af71f6ef1fe9c014912c..dbfda5a610a9889d8d19092dc95ba8f10530aada 100644 (file)
 #ifndef _FUSB_H_
 #define _FUSB_H_
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
-#if 1
+#ifdef HAVE_LIBUSB_1 
+struct  libusb_device_handle;
+#else
 struct usb_dev_handle;
 typedef struct usb_dev_handle libusb_device_handle;
-#else
-struct  libusb_device_handle;
 #endif
 
 struct         libusb_context;