summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-11-08 12:27:37 -0800
committerJosh Blum <josh@joshknows.com>2011-11-08 12:27:37 -0800
commit6f1f5f5fa2d044e4017be27ad5c1f67adbcea3f7 (patch)
tree3a8bb084f82ef1fb67dd1dfbc8fc110bbd5b85e9
parentdb5eb3828416c091b45a1d90522e2bede730f38a (diff)
downloaduhd-6f1f5f5fa2d044e4017be27ad5c1f67adbcea3f7.tar.gz
uhd-6f1f5f5fa2d044e4017be27ad5c1f67adbcea3f7.tar.bz2
uhd-6f1f5f5fa2d044e4017be27ad5c1f67adbcea3f7.zip
usrp: added missing include for weak ptr
-rw-r--r--host/lib/usrp/usrp1/usrp1_impl.hpp1
-rw-r--r--host/lib/usrp/usrp2/usrp2_impl.hpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_impl.hpp b/host/lib/usrp/usrp1/usrp1_impl.hpp
index 99bb01c76..fd1b8c193 100644
--- a/host/lib/usrp/usrp1/usrp1_impl.hpp
+++ b/host/lib/usrp/usrp1/usrp1_impl.hpp
@@ -31,6 +31,7 @@
#include <uhd/usrp/dboard_eeprom.hpp>
#include <uhd/usrp/dboard_manager.hpp>
#include <uhd/transport/usb_zero_copy.hpp>
+#include <boost/weak_ptr.hpp>
#include <complex>
#ifndef INCLUDED_USRP1_IMPL_HPP
diff --git a/host/lib/usrp/usrp2/usrp2_impl.hpp b/host/lib/usrp/usrp2/usrp2_impl.hpp
index 31a390af7..535397d84 100644
--- a/host/lib/usrp/usrp2/usrp2_impl.hpp
+++ b/host/lib/usrp/usrp2/usrp2_impl.hpp
@@ -41,6 +41,7 @@
#include <uhd/transport/udp_zero_copy.hpp>
#include <uhd/usrp/dboard_manager.hpp>
#include <uhd/usrp/subdev_spec.hpp>
+#include <boost/weak_ptr.hpp>
static const double USRP2_LINK_RATE_BPS = 1000e6/8;
static const double mimo_clock_delay_usrp2_rev4 = 4.18e-9;