summaryrefslogtreecommitdiff
path: root/examples/Threads/cancel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Threads/cancel.cpp')
-rw-r--r--examples/Threads/cancel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/Threads/cancel.cpp b/examples/Threads/cancel.cpp
index 05f56101f31..4d2b741839a 100644
--- a/examples/Threads/cancel.cpp
+++ b/examples/Threads/cancel.cpp
@@ -3,6 +3,7 @@
// Test out the cooperative thread cancellation mechanisms provided by
// the ACE_Thread_Manager.
+#include "ace/OS_main.h"
#include "ace/Service_Config.h"
#include "ace/Thread_Manager.h"