summaryrefslogtreecommitdiff
path: root/usrp
diff options
context:
space:
mode:
Diffstat (limited to 'usrp')
-rw-r--r--usrp/host/lib/fusb_linux.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/usrp/host/lib/fusb_linux.cc b/usrp/host/lib/fusb_linux.cc
index 8391f66b2..1eaba4e50 100644
--- a/usrp/host/lib/fusb_linux.cc
+++ b/usrp/host/lib/fusb_linux.cc
@@ -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>