Imported Upstream version 3.0.4
[debian/gnuradio] / usrp / host / lib / fusb_linux.cc
index 8391f66b2ec813270a88ac031aa6ea800546b09b..60687a14991a2a30b31ffc61beaee72d499da188 100644 (file)
@@ -6,7 +6,7 @@
  * 
  * GNU Radio is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
+ * the Free Software Foundation; either version 3, or (at your option)
  * any later version.
  * 
  * GNU Radio is distributed in the hope that it will be useful,
@@ -27,7 +27,9 @@
 #include <fusb_linux.h>
 #include <usb.h>               // libusb header
 #include <stdexcept>
+#ifdef HAVE_LINUX_COMPILER_H
 #include <linux/compiler.h>
+#endif
 #include <linux/usbdevice_fs.h>        // interface to kernel portion of user mode usb driver
 #include <sys/ioctl.h>
 #include <assert.h>