aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2020-09-10 20:43:37 +0200
committermichael-west <michael.west@ettus.com>2020-09-11 00:47:35 -0700
commit22593f490ddd48145f991d43759d2e908851f00e (patch)
tree892522e26e57421cf5b418cd8abfc4a921f70bdb /host
parentaaf69cb343e58328e5df5e118fa7d2e4f1321a14 (diff)
downloaduhd-22593f490ddd48145f991d43759d2e908851f00e.tar.gz
uhd-22593f490ddd48145f991d43759d2e908851f00e.tar.bz2
uhd-22593f490ddd48145f991d43759d2e908851f00e.zip
tests: Fix build issue with Boost 1.67
Boost 1.67 will fail to build some tests that include mock_transport.hpp if an additional include is missing.
Diffstat (limited to 'host')
-rw-r--r--host/tests/common/mock_transport.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/host/tests/common/mock_transport.hpp b/host/tests/common/mock_transport.hpp
index 33d5510a9..1f3609843 100644
--- a/host/tests/common/mock_transport.hpp
+++ b/host/tests/common/mock_transport.hpp
@@ -9,6 +9,9 @@
#include <uhd/exception.hpp>
#include <uhdlib/transport/io_service.hpp>
+// Must come before the following include to fix an issue with Boost 1.67
+#include <boost/next_prior.hpp>
+///
#include <boost/lockfree/spsc_queue.hpp>
#include <utility>