diff --git a/src/sync-scheduler.cc b/src/sync-scheduler.cc
index fc0ca23..5c19f76 100644
--- a/src/sync-scheduler.cc
+++ b/src/sync-scheduler.cc
@@ -54,7 +54,7 @@
         {
 	  boost::system_time nextTime;
           {
-            unique_lock<mutex> lock (m_eventsMutex);
+            boost::unique_lock<boost::mutex> lock (m_eventsMutex);
             while (m_threadRunning && m_events.size () == 0)
               {
                 m_eventsCondition.wait (lock);
@@ -84,7 +84,7 @@
 	  Event event;
 	  
 	  {
-	    lock_guard<mutex> lock (m_eventsMutex);
+            boost::lock_guard<boost::mutex> lock (m_eventsMutex);
 
 	    if (m_events.size () == 0)
               {
@@ -110,7 +110,7 @@
 void
 Scheduler::schedule (const TimeDuration &reltime, Event event, uint32_t label)
 {
-  lock_guard<mutex> lock (m_eventsMutex);
+  boost::lock_guard<boost::mutex> lock (m_eventsMutex);
   m_events.insert (LogicEvent (boost::get_system_time () + reltime, event, label));
 
   m_eventsCondition.notify_one ();
@@ -121,7 +121,7 @@
 Scheduler::cancel (uint32_t label)
 {
   // cout << "Canceling label " << label << " size: " << m_events.size () << endl;
-  lock_guard<mutex> lock (m_eventsMutex);
+  boost::lock_guard<boost::mutex> lock (m_eventsMutex);
   m_events.get<byLabel> ().erase (label);
   // cout << "Canceled label " << label << " size: " << m_events.size () << endl;
 
