summaryrefslogtreecommitdiff
path: root/packages/usrp/files
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-01-09 21:11:38 +0000
committerPhilip Balister <philip@balister.org>2007-01-09 21:11:38 +0000
commit69bde32a9397cfb9bc224611ccf5cff6ccb3ffef (patch)
treebeb3e4bd2064488ff86264195763fab1486efef7 /packages/usrp/files
parent9b2b3dc9b51de3a41fd5546f8a91900cdfbd7f17 (diff)
usrp_0.12.bb : Fix compile.h header file problem.
Add hack so it links on EFIKA/powerpc.
Diffstat (limited to 'packages/usrp/files')
-rw-r--r--packages/usrp/files/fix_compile_h.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/usrp/files/fix_compile_h.patch b/packages/usrp/files/fix_compile_h.patch
new file mode 100644
index 0000000000..02ba7e44a0
--- /dev/null
+++ b/packages/usrp/files/fix_compile_h.patch
@@ -0,0 +1,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>
+