summaryrefslogtreecommitdiff
path: root/src/lib/cross.h
diff options
context:
space:
mode:
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