summaryrefslogtreecommitdiff
path: root/examples/Threads/barrier1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Threads/barrier1.cpp')
-rw-r--r--examples/Threads/barrier1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/Threads/barrier1.cpp b/examples/Threads/barrier1.cpp
index e6d8c8f17dc..4d3762b1eb6 100644
--- a/examples/Threads/barrier1.cpp
+++ b/examples/Threads/barrier1.cpp
@@ -3,7 +3,8 @@
// This test program illustrates how the ACE barrier synchronization
// mechanisms work.
-#include "ace/Synch.h"
+#include "ace/OS_main.h"
+#include "ace/Barrier.h"
#include "ace/Thread_Manager.h"
#include "ace/Service_Config.h"