summaryrefslogtreecommitdiff
path: root/packages/usrp/files/fix_compile_h.patch
blob: 02ba7e44a0b0eb7129dbcadeda56d4ffc85d41fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: gnuradio/trunk/usrp/host/lib/fusb_linux.cc
===================================================================
--- gnuradio/trunk/usrp/host/lib/fusb_linux.cc (revision 3534)
+++ gnuradio/trunk/usrp/host/lib/fusb_linux.cc (revision 3886)
@@ -28,5 +28,7 @@
 #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>