summaryrefslogtreecommitdiff
path: root/examples/Threads
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Threads')
-rw-r--r--examples/Threads/task_three.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/Threads/task_three.cpp b/examples/Threads/task_three.cpp
index 285921b2aea..89db19c8276 100644
--- a/examples/Threads/task_three.cpp
+++ b/examples/Threads/task_three.cpp
@@ -12,10 +12,14 @@
// ACE_LOG_MSG->msg_ostream (out_stream);
// }
-#include "ace/stdcpp.h"
#include "ace/Reactor.h"
#include "ace/Service_Config.h"
#include "ace/Task.h"
+#include "ace/stdcpp.h"
+#if defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION)
+# include <fstream.h>
+# include <iostream.h>
+#endif /* ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION */
#if defined (ACE_HAS_THREADS)