From ed9e147695e4c5e800e83654baf365a634f3a2a7 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Wed, 12 Oct 2016 15:32:14 -0400 Subject: Abstract out mutex type. Make threads optional. --- src/lib/entropy/unix_procs/unix_procs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/entropy/unix_procs/unix_procs.h') diff --git a/src/lib/entropy/unix_procs/unix_procs.h b/src/lib/entropy/unix_procs/unix_procs.h index 27f7ab5bb..f87881d54 100644 --- a/src/lib/entropy/unix_procs/unix_procs.h +++ b/src/lib/entropy/unix_procs/unix_procs.h @@ -10,7 +10,7 @@ #include #include -#include +#include namespace Botan { @@ -67,7 +67,7 @@ class Unix_EntropySource final : public Entropy_Source const std::vector& next_source(); - std::mutex m_mutex; + mutex_type m_mutex; const std::vector m_trusted_paths; const size_t m_concurrent; -- cgit v1.2.3