diff --git a/host/cmake/Modules/UHDAtomics.cmake b/host/cmake/Modules/UHDAtomics.cmake index f208d4ff82..ad0674188c 100644 --- a/host/cmake/Modules/UHDAtomics.cmake +++ b/host/cmake/Modules/UHDAtomics.cmake @@ -38,6 +38,7 @@ endfunction(CHECK_WORKING_CXX_ATOMICS64) function(CHECK_WORKING_CXX_BOOST_ATOMICS varname) set(CMAKE_REQUIRED_INCLUDES ${Boost_INCLUDE_DIRS}) CHECK_CXX_SOURCE_COMPILES(" + #include #include boost::lockfree::queue queue(1); int main() { diff --git a/host/lib/include/uhdlib/rfnoc/tx_async_msg_queue.hpp b/host/lib/include/uhdlib/rfnoc/tx_async_msg_queue.hpp index 228f4cf1e6..05dcf56b1b 100644 --- a/host/lib/include/uhdlib/rfnoc/tx_async_msg_queue.hpp +++ b/host/lib/include/uhdlib/rfnoc/tx_async_msg_queue.hpp @@ -7,6 +7,7 @@ #pragma once #include +#include #include namespace uhd { namespace rfnoc { diff --git a/host/lib/transport/offload_io_service.cpp b/host/lib/transport/offload_io_service.cpp index 706841f86a..ba65265ece 100644 --- a/host/lib/transport/offload_io_service.cpp +++ b/host/lib/transport/offload_io_service.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include