From c0a44be527e65aa83f1a00ab59785906a5411612 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 17 Jun 2021 13:31:30 +0200 Subject: usrp2: Fix Boost headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On Boost 1.76, this would otherwise fail with an error: [...] .../usrp2_impl.cpp:920:37: error: ‘boost::math’ has not been declared 920 | const int sign = boost::math::sign(new_freq); [...] --- host/lib/usrp/usrp2/usrp2_impl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/usrp2') diff --git a/host/lib/usrp/usrp2/usrp2_impl.cpp b/host/lib/usrp/usrp2/usrp2_impl.cpp index c2514ae02..370fcc5a6 100644 --- a/host/lib/usrp/usrp2/usrp2_impl.cpp +++ b/host/lib/usrp/usrp2/usrp2_impl.cpp @@ -15,10 +15,10 @@ #include #include #include -#include //used for htonl and ntohl +#include #include #include -#include +#include #include using namespace uhd; -- cgit v1.2.3