aboutsummaryrefslogtreecommitdiffstats
path: root/lib/soapy/soapy_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/soapy/soapy_common.h')
-rw-r--r--lib/soapy/soapy_common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/soapy/soapy_common.h b/lib/soapy/soapy_common.h
index 8adb0db..87e46a5 100644
--- a/lib/soapy/soapy_common.h
+++ b/lib/soapy/soapy_common.h
@@ -23,8 +23,7 @@
#include <osmosdr/ranges.h>
#include <SoapySDR/Types.hpp>
-
-#include <mutex>
+#include <boost/thread/mutex.hpp>
/*!
* Convert a soapy range to a gain range.
@@ -36,6 +35,6 @@ osmosdr::gain_range_t soapy_range_to_gain_range(const SoapySDR::Range &r);
* Global mutex to protect factory routines.
* (optional under 0.5 release above)
*/
-std::mutex &get_soapy_maker_mutex(void);
+boost::mutex &get_soapy_maker_mutex(void);
#endif /* INCLUDED_SOAPY_COMMON_H */