void-packages/srcpkgs/uhd/patches/fix-include.patch

40 lines
1.2 KiB
Diff

Index: uhd-4.0.0.0/host/lib/usrp/dboard/e3xx/e3xx_radio_control_impl.cpp
===================================================================
--- uhd-4.0.0.0.orig/host/lib/usrp/dboard/e3xx/e3xx_radio_control_impl.cpp
+++ uhd-4.0.0.0/host/lib/usrp/dboard/e3xx/e3xx_radio_control_impl.cpp
@@ -17,6 +17,7 @@
#include <cmath>
#include <cstdlib>
#include <sstream>
+#include <thread>
using namespace uhd;
using namespace uhd::usrp;
Index: uhd-4.0.0.0/host/lib/include/uhdlib/utils/rpc.hpp
===================================================================
--- uhd-4.0.0.0.orig/host/lib/include/uhdlib/utils/rpc.hpp
+++ uhd-4.0.0.0/host/lib/include/uhdlib/utils/rpc.hpp
@@ -12,7 +12,10 @@
#include <rpc/client.h>
#include <rpc/rpc_error.h>
#include <boost/format.hpp>
+#include <chrono>
#include <memory>
+#include <string>
+#include <thread>
namespace {
Index: uhd-4.0.0.0/host/lib/usrp/common/lmx2592.cpp
===================================================================
--- uhd-4.0.0.0.orig/host/lib/usrp/common/lmx2592.cpp
+++ uhd-4.0.0.0/host/lib/usrp/common/lmx2592.cpp
@@ -7,6 +7,7 @@
#include "lmx2592_regs.hpp"
#include <uhdlib/usrp/common/lmx2592.hpp>
#include <uhdlib/utils/narrow.hpp>
+#include <array>
#include <chrono>
#include <iomanip>