From 93ca7c4d3c46a88feccc3faa8d923b1d0f10e281 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Mon, 11 Feb 2019 11:34:52 -0500 Subject: lib: fix includes for boost::noncopyable - expert_nodes.hpp: fix to work with BOOST_VERSION < 105600, since UHD still supports Boost 1.53.00. - gpio_atr_3000.hpp: requires boost::noncopyable header, so replicate that (now) in export_nodes.hpp. --- host/lib/include/uhdlib/experts/expert_nodes.hpp | 2 ++ host/lib/include/uhdlib/usrp/cores/gpio_atr_3000.hpp | 5 +++++ 2 files changed, 7 insertions(+) (limited to 'host') diff --git a/host/lib/include/uhdlib/experts/expert_nodes.hpp b/host/lib/include/uhdlib/experts/expert_nodes.hpp index a540fc49d..1aa29b3a3 100644 --- a/host/lib/include/uhdlib/experts/expert_nodes.hpp +++ b/host/lib/include/uhdlib/experts/expert_nodes.hpp @@ -14,6 +14,8 @@ #include #if BOOST_VERSION >= 105600 #include +#else +#include #endif #include #include diff --git a/host/lib/include/uhdlib/usrp/cores/gpio_atr_3000.hpp b/host/lib/include/uhdlib/usrp/cores/gpio_atr_3000.hpp index 30c7d6fb7..0e0f706b8 100644 --- a/host/lib/include/uhdlib/usrp/cores/gpio_atr_3000.hpp +++ b/host/lib/include/uhdlib/usrp/cores/gpio_atr_3000.hpp @@ -14,6 +14,11 @@ #include #include #include +#if BOOST_VERSION >= 105600 +#include +#else +#include +#endif namespace uhd { namespace usrp { namespace gpio_atr { -- cgit v1.2.3