summaryrefslogtreecommitdiff
path: root/src/lib/cross.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-11-05 00:04:21 +0100
committerCarl Hetherington <cth@carlh.net>2019-11-05 00:04:21 +0100
commitc9cadc1e53abb60a485a8a6de3eeecd54892b4d7 (patch)
tree1fee4436ac266c41efb6c6c7f92b4e9c74ec888e /src/lib/cross.h
parent09c0b4dc1566f11f35ec05be415be1b95bd9976c (diff)
Yet more waking (in hash computation).
Diffstat (limited to 'src/lib/cross.h')
-rw-r--r--src/lib/cross.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/cross.h b/src/lib/cross.h
index 4067631bc..67709463a 100644
--- a/src/lib/cross.h
+++ b/src/lib/cross.h
@@ -29,6 +29,7 @@
#include <IOKit/pwr_mgt/IOPMLib.h>
#endif
#include <boost/filesystem.hpp>
+#include <boost/thread/mutex.hpp>
#ifdef DCPOMATIC_WINDOWS
#define WEXITSTATUS(w) (w)
@@ -74,6 +75,7 @@ public:
void nudge ();
private:
+ boost::mutex _mutex;
#ifdef DCPOMATIC_OSX
IOPMAssertionID _assertion_id;
#endif