summaryrefslogtreecommitdiff
path: root/ACE/examples/APG/Timers/PTimerDispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/APG/Timers/PTimerDispatcher.h')
-rw-r--r--ACE/examples/APG/Timers/PTimerDispatcher.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ACE/examples/APG/Timers/PTimerDispatcher.h b/ACE/examples/APG/Timers/PTimerDispatcher.h
index 43047c67a8a..1954d3fd65d 100644
--- a/ACE/examples/APG/Timers/PTimerDispatcher.h
+++ b/ACE/examples/APG/Timers/PTimerDispatcher.h
@@ -2,8 +2,9 @@
#if !defined(PTIMER_DISPATCHER_H)
#define PTIMER_DISPATCHER_H
+#include "ace/Event.h"
#include "ace/Singleton.h"
-#include "ace/Synch.h" // needed for ACE_Event
+#include "ace/Synch_Traits.h"
#include "Upcall.h"
class PCB;
@@ -31,7 +32,7 @@ private:
ACE_Event timer_;
};
-typedef ACE_Singleton<PTimer_Dispatcher, ACE_Null_Mutex> PTimer;
+typedef ACE_Singleton<PTimer_Dispatcher, ACE_SYNCH_NULL_MUTEX> PTimer;
#endif /*TIMER_DISPATCHER_H*/