summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-02 23:27:23 +0000
committerdhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-11-02 23:27:23 +0000
commit7d772a7c6de2502acaec5ddfbbe402663829c7e9 (patch)
tree3f556203959635a7308497a0f9e3c541705ae5c1
parent509ed1f84ab85c8aa5b4856b4f795c3caac64155 (diff)
downloadATCD-7d772a7c6de2502acaec5ddfbbe402663829c7e9.tar.gz
ChangeLogTag:Sun Nov 2 23:28:26 UTC 2003 Don Hinton <dhinton@dresystems.com>
-rw-r--r--TAO/ChangeLog122
-rw-r--r--TAO/docs/tutorials/Quoter/Event_Service/server.cpp1
-rw-r--r--TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp1
-rw-r--r--TAO/examples/POA/DSI/client.cpp1
-rw-r--r--TAO/examples/POA/Default_Servant/File_i.cpp1
-rw-r--r--TAO/examples/POA/Generic_Servant/test_i.cpp1
-rw-r--r--TAO/examples/Persistent_Grid/Simple_util.cpp1
-rw-r--r--TAO/examples/Simple/Simple_util.cpp1
-rw-r--r--TAO/examples/Simple/bank/Bank_Client_i.cpp1
-rw-r--r--TAO/examples/Simple/echo/Echo_Client_i.cpp1
-rw-r--r--TAO/examples/Simple/grid/Grid_Client_i.cpp1
-rw-r--r--TAO/orbsvcs/Time_Service/Clerk_i.cpp1
-rw-r--r--TAO/orbsvcs/Time_Service/Server_i.cpp1
-rw-r--r--TAO/orbsvcs/examples/CosEC/Simple/Supplier.cpp1
-rw-r--r--TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp1
-rw-r--r--TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp1
-rw-r--r--TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp1
-rw-r--r--TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp1
-rw-r--r--TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp1
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/LogNotification.cpp1
-rw-r--r--TAO/orbsvcs/orbsvcs/Log/PersistStore.cpp2
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl2
-rw-r--r--TAO/orbsvcs/tests/Concurrency/CC_client.cpp1
-rw-r--r--TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.cpp1
-rw-r--r--TAO/orbsvcs/tests/CosEvent/lib/Counting_Supplier.cpp1
-rw-r--r--TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp1
-rw-r--r--TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp1
-rw-r--r--TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp1
-rw-r--r--TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Performance/Latency.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/Performance/Latency_Server.cpp1
-rw-r--r--TAO/orbsvcs/tests/Event/lib/Driver.cpp1
-rw-r--r--TAO/orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp1
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp1
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp1
-rw-r--r--TAO/performance-tests/Callback/client.cpp1
-rw-r--r--TAO/performance-tests/Callback/server.cpp1
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp1
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp1
-rw-r--r--TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/AMH/Single_Threaded/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/AMH/Single_Threaded/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/AMI/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/AMI/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/DII/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/DII/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/DSI/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/DSI/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/Deferred/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/Deferred/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/Single_Threaded/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/Single_Threaded/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/Thread_Per_Connection/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/Thread_Per_Connection/server.cpp1
-rw-r--r--TAO/performance-tests/Latency/Thread_Pool/client.cpp1
-rw-r--r--TAO/performance-tests/Latency/Thread_Pool/server.cpp1
-rw-r--r--TAO/performance-tests/POA/Create_Reference/create_reference.cpp1
-rw-r--r--TAO/performance-tests/POA/Implicit_Activation/client.cpp1
-rw-r--r--TAO/performance-tests/POA/Implicit_Activation/collocated.cpp1
-rw-r--r--TAO/performance-tests/POA/Implicit_Activation/server.cpp1
-rw-r--r--TAO/performance-tests/Pluggable/PP_Test_Client.cpp3
-rw-r--r--TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.cpp1
-rw-r--r--TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.cpp1
-rw-r--r--TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp2
-rw-r--r--TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/server.cpp1
-rw-r--r--TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp1
-rw-r--r--TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/AMI/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/AMI/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/DII/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/DII/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/DSI/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/DSI/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Deferred/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Deferred/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Single_Threaded/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Single_Threaded/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/server.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Thread_Pool/client.cpp1
-rw-r--r--TAO/performance-tests/Sequence_Latency/Thread_Pool/server.cpp1
-rw-r--r--TAO/tao/IIOP_Profile.cpp2
-rw-r--r--TAO/tests/Blocking_Sync_None/Blocking_Sync_None.cpp1
-rw-r--r--TAO/tests/Bug_1020_Basic_Regression/Echo.cpp1
-rw-r--r--TAO/tests/Bug_1269_Regression/Echo.cpp1
-rw-r--r--TAO/tests/Bug_1270_Regression/Echo.cpp1
-rw-r--r--TAO/tests/Bug_1361_Regression/Echo.cpp1
-rw-r--r--TAO/tests/Client_Leaks/Process.cpp1
-rw-r--r--TAO/tests/Crash_On_Write/Crash_Task.cpp1
-rw-r--r--TAO/tests/Crash_On_Write/client.cpp1
-rw-r--r--TAO/tests/Explicit_Event_Loop/server.cpp1
-rw-r--r--TAO/tests/Faults/pong.cpp1
-rw-r--r--TAO/tests/Faults/test_i.cpp2
-rw-r--r--TAO/tests/File_IO/File_i.cpp1
-rw-r--r--TAO/tests/Leader_Followers/test_i.cpp1
-rw-r--r--TAO/tests/MProfile/server.cpp1
-rwxr-xr-xTAO/tests/MProfile_Forwarding/server.cpp1
-rw-r--r--TAO/tests/MT_Server/test_i.cpp1
-rw-r--r--TAO/tests/MT_Timeout/Sleep_Service.cpp1
-rw-r--r--TAO/tests/Multiple_Inheritance/client.cpp1
-rw-r--r--TAO/tests/Muxed_GIOP_Versions/test_i.cpp2
-rw-r--r--TAO/tests/NestedUpcall/MT_Client_Test/client.cpp2
-rw-r--r--TAO/tests/NestedUpcall/MT_Client_Test/local_server.cpp2
-rw-r--r--TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp1
-rw-r--r--TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp1
-rw-r--r--TAO/tests/POA/Single_Threaded_POA/Single_Threaded_POA.cpp1
-rw-r--r--TAO/tests/Param_Test/options.cpp2
-rw-r--r--TAO/tests/RTCORBA/RTMutex/server.cpp1
-rw-r--r--TAO/tests/RTScheduling/Current/Thread_Task.cpp1
-rw-r--r--TAO/tests/RTScheduling/DT_Spawn/Thread_Action.h1
-rw-r--r--TAO/tests/RTScheduling/Scheduling_Interceptor/test_server.cpp1
-rw-r--r--TAO/tests/RTScheduling/Thread_Cancel/Thread_Task.cpp2
-rw-r--r--TAO/tests/Single_Read/test_i.cpp1
-rw-r--r--TAO/tests/Timed_Buffered_Oneways/test_i.cpp1
-rw-r--r--TAO/tests/Timeout/test_i.cpp2
118 files changed, 252 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index d4db267b177..f4c1335e740 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,125 @@
+Sun Nov 2 23:28:26 UTC 2003 Don Hinton <dhinton@dresystems.com>
+
+ * /docs/tutorials/Quoter/Event_Service/server.cpp:
+ * /docs/tutorials/Quoter/RT_Event_Service/server.cpp:
+ * /examples/POA/DSI/client.cpp:
+ * /examples/POA/Default_Servant/File_i.cpp:
+ * /examples/POA/Generic_Servant/test_i.cpp:
+ * /examples/Persistent_Grid/Simple_util.cpp:
+ * /examples/Simple/Simple_util.cpp:
+ * /examples/Simple/bank/Bank_Client_i.cpp:
+ * /examples/Simple/echo/Echo_Client_i.cpp:
+ * /examples/Simple/grid/Grid_Client_i.cpp:
+ * /orbsvcs/Time_Service/Clerk_i.cpp:
+ * /orbsvcs/Time_Service/Server_i.cpp::
+ * /orbsvcs/examples/CosEC/Simple/Supplier.cpp:
+ * /orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp:
+ * /orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp:
+ * /orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp:
+ * /orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp:
+ * /orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.cpp:
+ * /orbsvcs/orbsvcs/Event/RT_Task.cpp:
+ * /orbsvcs/orbsvcs/Log/LogNotification.cpp:
+ * /orbsvcs/orbsvcs/Log/PersistStore.cpp:
+ * /orbsvcs/orbsvcs/Notify/Method_Request.inl:
+ * /orbsvcs/tests/Concurrency/CC_client.cpp:
+ * /orbsvcs/tests/CosEvent/lib/Counting_Consumer.cpp:
+ * /orbsvcs/tests/CosEvent/lib/Counting_Supplier.cpp:
+ * /orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp:
+ * /orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp:
+ * /orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp:
+ * /orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp:
+ * /orbsvcs/tests/Event/Performance/Latency.cpp:
+ * /orbsvcs/tests/Event/Performance/Latency_Server.cpp:
+ * /orbsvcs/tests/Event/lib/Driver.cpp:
+ * /orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp:
+ * /orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp:
+ * /orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp:
+ * /performance-tests/Callback/client.cpp:
+ * /performance-tests/Callback/server.cpp:
+ * /performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp:
+ * /performance-tests/Cubit/TAO/IDL_Cubit/client.cpp:
+ * /performance-tests/Cubit/TAO/IDL_Cubit/server.cpp:
+ * /performance-tests/Latency/AMH/Single_Threaded/client.cpp:
+ * /performance-tests/Latency/AMH/Single_Threaded/server.cpp:
+ * /performance-tests/Latency/AMI/client.cpp:
+ * /performance-tests/Latency/AMI/server.cpp:
+ * /performance-tests/Latency/DII/client.cpp:
+ * /performance-tests/Latency/DII/server.cpp:
+ * /performance-tests/Latency/DSI/client.cpp:
+ * /performance-tests/Latency/DSI/server.cpp:
+ * /performance-tests/Latency/Deferred/client.cpp:
+ * /performance-tests/Latency/Deferred/server.cpp:
+ * /performance-tests/Latency/Single_Threaded/client.cpp:
+ * /performance-tests/Latency/Single_Threaded/server.cpp:
+ * /performance-tests/Latency/Thread_Per_Connection/client.cpp:
+ * /performance-tests/Latency/Thread_Per_Connection/server.cpp:
+ * /performance-tests/Latency/Thread_Pool/client.cpp:
+ * /performance-tests/Latency/Thread_Pool/server.cpp:
+ * /performance-tests/POA/Create_Reference/create_reference.cpp:
+ * /performance-tests/POA/Implicit_Activation/client.cpp:
+ * /performance-tests/POA/Implicit_Activation/collocated.cpp:
+ * /performance-tests/POA/Implicit_Activation/server.cpp:
+ * /performance-tests/Pluggable/PP_Test_Client.cpp:
+ * /performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.cpp:
+ * /performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.cpp:
+ * /performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp:
+ * /performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/server.cpp:
+ * /performance-tests/RTCorba/Oneways/Reliable/client.cpp:
+ * /performance-tests/RTCorba/Oneways/Reliable/server.cpp:
+ * /performance-tests/Sequence_Latency/AMH/Single_Threaded/client.cpp:
+ * /performance-tests/Sequence_Latency/AMH/Single_Threaded/server.cpp:
+ * /performance-tests/Sequence_Latency/AMI/client.cpp:
+ * /performance-tests/Sequence_Latency/AMI/server.cpp:
+ * /performance-tests/Sequence_Latency/DII/client.cpp:
+ * /performance-tests/Sequence_Latency/DII/server.cpp:
+ * /performance-tests/Sequence_Latency/DSI/client.cpp:
+ * /performance-tests/Sequence_Latency/DSI/server.cpp:
+ * /performance-tests/Sequence_Latency/Deferred/client.cpp:
+ * /performance-tests/Sequence_Latency/Deferred/server.cpp:
+ * /performance-tests/Sequence_Latency/Single_Threaded/client.cpp:
+ * /performance-tests/Sequence_Latency/Single_Threaded/server.cpp:
+ * /performance-tests/Sequence_Latency/Thread_Per_Connection/client.cpp:
+ * /performance-tests/Sequence_Latency/Thread_Per_Connection/server.cpp:
+ * /performance-tests/Sequence_Latency/Thread_Pool/client.cpp:
+ * /performance-tests/Sequence_Latency/Thread_Pool/server.cpp:
+ * /tao/IIOP_Profile.cpp:
+ * /tests/Blocking_Sync_None/Blocking_Sync_None.cpp:
+ * /tests/Bug_1020_Basic_Regression/Echo.cpp:
+ * /tests/Bug_1269_Regression/Echo.cpp:
+ * /tests/Bug_1270_Regression/Echo.cpp:
+ * /tests/Bug_1361_Regression/Echo.cpp:
+ * /tests/Client_Leaks/Process.cpp:
+ * /tests/Crash_On_Write/Crash_Task.cpp:
+ * /tests/Crash_On_Write/client.cpp:
+ * /tests/Explicit_Event_Loop/server.cpp:
+ * /tests/Faults/pong.cpp:
+ * /tests/Faults/test_i.cpp:
+ * /tests/File_IO/File_i.cpp:
+ * /tests/Leader_Followers/test_i.cpp:
+ * /tests/MProfile/server.cpp:
+ * /tests/MProfile_Forwarding/server.cpp:
+ * /tests/MT_Server/test_i.cpp:
+ * /tests/MT_Timeout/Sleep_Service.cpp::
+ * /tests/Multiple_Inheritance/client.cpp:
+ * /tests/Muxed_GIOP_Versions/test_i.cpp:
+ * /tests/NestedUpcall/MT_Client_Test/client.cpp:
+ * /tests/NestedUpcall/MT_Client_Test/local_server.cpp:
+ * /tests/NestedUpcall/Triangle_Test/Object_B_i.cpp:
+ * /tests/NestedUpcall/Triangle_Test/initiator.cpp:
+ * /tests/POA/Single_Threaded_POA/Single_Threaded_POA.cpp:
+ * /tests/Param_Test/options.cpp:
+ * /tests/RTCORBA/RTMutex/server.cpp:
+ * /tests/RTScheduling/Current/Thread_Task.cpp:
+ * /tests/RTScheduling/DT_Spawn/Thread_Action.h:
+ * /tests/RTScheduling/Scheduling_Interceptor/test_server.cpp:
+ * /tests/RTScheduling/Thread_Cancel/Thread_Task.cpp:
+ * /tests/Single_Read/test_i.cpp:
+ * /tests/Timed_Buffered_Oneways/test_i.cpp:
+ * /tests/Timeout/test_i.cpp:
+ Added missing #included needed (especially when not inlining)
+ due to recent subsetting.
+
Sun Nov 2 16:33:13 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
* tao/orbconf.h:
diff --git a/TAO/docs/tutorials/Quoter/Event_Service/server.cpp b/TAO/docs/tutorials/Quoter/Event_Service/server.cpp
index d76e581822d..951582f8462 100644
--- a/TAO/docs/tutorials/Quoter/Event_Service/server.cpp
+++ b/TAO/docs/tutorials/Quoter/Event_Service/server.cpp
@@ -5,6 +5,7 @@
#include "Stock_Factory_i.h"
#include <orbsvcs/CosNamingC.h>
#include "ace/streams.h"
+#include "ace/OS_NS_unistd.h"
int main (int argc, char* argv[])
{
diff --git a/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp b/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp
index 639c29c8582..464a76abcca 100644
--- a/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp
+++ b/TAO/docs/tutorials/Quoter/RT_Event_Service/server.cpp
@@ -5,6 +5,7 @@
#include "Stock_Factory_i.h"
#include <orbsvcs/CosNamingC.h>
#include "ace/streams.h"
+#include "ace/OS_NS_unistd.h"
int main (int argc, char* argv[])
{
diff --git a/TAO/examples/POA/DSI/client.cpp b/TAO/examples/POA/DSI/client.cpp
index ca986a5d0ee..03aef364946 100644
--- a/TAO/examples/POA/DSI/client.cpp
+++ b/TAO/examples/POA/DSI/client.cpp
@@ -19,6 +19,7 @@
#include "ace/Read_Buffer.h"
#include "DatabaseC.h"
#include "ace/OS_NS_fcntl.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(DSI, client, "$Id$")
diff --git a/TAO/examples/POA/Default_Servant/File_i.cpp b/TAO/examples/POA/Default_Servant/File_i.cpp
index 739fb8a09a7..3289d6f8bac 100644
--- a/TAO/examples/POA/Default_Servant/File_i.cpp
+++ b/TAO/examples/POA/Default_Servant/File_i.cpp
@@ -17,6 +17,7 @@
#include "File_i.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_fcntl.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Default_Servant, File_i, "$Id$")
diff --git a/TAO/examples/POA/Generic_Servant/test_i.cpp b/TAO/examples/POA/Generic_Servant/test_i.cpp
index 1e3acc1de93..d821d4b258c 100644
--- a/TAO/examples/POA/Generic_Servant/test_i.cpp
+++ b/TAO/examples/POA/Generic_Servant/test_i.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "test_i.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Generic_Servant, test_i, "$Id$")
diff --git a/TAO/examples/Persistent_Grid/Simple_util.cpp b/TAO/examples/Persistent_Grid/Simple_util.cpp
index 8e2d65339b9..63d998a3ace 100644
--- a/TAO/examples/Persistent_Grid/Simple_util.cpp
+++ b/TAO/examples/Persistent_Grid/Simple_util.cpp
@@ -5,6 +5,7 @@
# include "Simple_util.h"
# include "tao/debug.h"
# include "ace/OS_NS_fcntl.h"
+# include "ace/OS_NS_unistd.h"
// Constructor.
diff --git a/TAO/examples/Simple/Simple_util.cpp b/TAO/examples/Simple/Simple_util.cpp
index d1bf5ed328e..6d9ab26ddf9 100644
--- a/TAO/examples/Simple/Simple_util.cpp
+++ b/TAO/examples/Simple/Simple_util.cpp
@@ -7,6 +7,7 @@
#include "tao/IORTable/IORTable.h"
#include "tao/debug.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
// Constructor.
diff --git a/TAO/examples/Simple/bank/Bank_Client_i.cpp b/TAO/examples/Simple/bank/Bank_Client_i.cpp
index 420febc8e7f..4ec01e214d5 100644
--- a/TAO/examples/Simple/bank/Bank_Client_i.cpp
+++ b/TAO/examples/Simple/bank/Bank_Client_i.cpp
@@ -3,6 +3,7 @@
#include "Bank_Client_i.h"
#include "ace/Get_Opt.h"
#include "ace/Read_Buffer.h"
+#include "ace/OS_NS_unistd.h"
// This is the interface program that accesses the remote object
diff --git a/TAO/examples/Simple/echo/Echo_Client_i.cpp b/TAO/examples/Simple/echo/Echo_Client_i.cpp
index 640992d852b..5ad03333a49 100644
--- a/TAO/examples/Simple/echo/Echo_Client_i.cpp
+++ b/TAO/examples/Simple/echo/Echo_Client_i.cpp
@@ -3,6 +3,7 @@
#include "Echo_Client_i.h"
#include "ace/Get_Opt.h"
#include "ace/Read_Buffer.h"
+#include "ace/OS_NS_unistd.h"
// This is the interface program that accesses the remote object
diff --git a/TAO/examples/Simple/grid/Grid_Client_i.cpp b/TAO/examples/Simple/grid/Grid_Client_i.cpp
index 9f8eeaca6eb..b27072dac0c 100644
--- a/TAO/examples/Simple/grid/Grid_Client_i.cpp
+++ b/TAO/examples/Simple/grid/Grid_Client_i.cpp
@@ -4,6 +4,7 @@
#include "ace/Get_Opt.h"
#include "ace/Read_Buffer.h"
#include "ace/streams.h"
+#include "ace/OS_NS_unistd.h"
// This is the interface program that accesses the remote object
diff --git a/TAO/orbsvcs/Time_Service/Clerk_i.cpp b/TAO/orbsvcs/Time_Service/Clerk_i.cpp
index bd18e558644..b4a29c5b481 100644
--- a/TAO/orbsvcs/Time_Service/Clerk_i.cpp
+++ b/TAO/orbsvcs/Time_Service/Clerk_i.cpp
@@ -6,6 +6,7 @@
#include "ace/Get_Opt.h"
#include "ace/Argv_Type_Converter.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Time_Service, Clerk_i, "$Id$")
diff --git a/TAO/orbsvcs/Time_Service/Server_i.cpp b/TAO/orbsvcs/Time_Service/Server_i.cpp
index f829164d05f..a752e41287e 100644
--- a/TAO/orbsvcs/Time_Service/Server_i.cpp
+++ b/TAO/orbsvcs/Time_Service/Server_i.cpp
@@ -5,6 +5,7 @@
#include "ace/Get_Opt.h"
#include "ace/Argv_Type_Converter.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Time_Service, Server_i, "$Id$")
diff --git a/TAO/orbsvcs/examples/CosEC/Simple/Supplier.cpp b/TAO/orbsvcs/examples/CosEC/Simple/Supplier.cpp
index 96e0ea64204..d4edd70a152 100644
--- a/TAO/orbsvcs/examples/CosEC/Simple/Supplier.cpp
+++ b/TAO/orbsvcs/examples/CosEC/Simple/Supplier.cpp
@@ -2,6 +2,7 @@
#include "Supplier.h"
#include "orbsvcs/CosEventChannelAdminS.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(CosEC_Examples, Supplier, "$Id$")
diff --git a/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp b/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp
index f3f2e152926..2b29678007d 100644
--- a/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/Lanes/Consumer_Client.cpp
@@ -8,6 +8,7 @@
#include "orbsvcs/orbsvcs/CosNamingC.h"
#include "tao/ORB_Core.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID (Notify, TAO_Notify_Lanes_Consumer_Client, "$Id$")
diff --git a/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp b/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp
index 5f81a17a289..bd760366a36 100644
--- a/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/Lanes/Supplier_Client.cpp
@@ -9,6 +9,7 @@
#include "Supplier.h"
#include "orbsvcs/orbsvcs/NotifyExtC.h"
#include "orbsvcs/orbsvcs/CosNamingC.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID (Notify, TAO_Notify_Lanes_Supplier_Client, "$Id$")
diff --git a/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp b/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp
index ef6f077004f..4b4aa0283bf 100644
--- a/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/ThreadPool/Consumer_Client.cpp
@@ -8,6 +8,7 @@
#include "orbsvcs/orbsvcs/CosNamingC.h"
#include "tao/ORB_Core.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID (Notify, TAO_Notify_ThreadPool_Consumer_Client, "$Id$")
diff --git a/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp b/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp
index 9946cb55acc..bc23e0c05b3 100644
--- a/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp
+++ b/TAO/orbsvcs/examples/Notify/ThreadPool/Supplier_Client.cpp
@@ -9,6 +9,7 @@
#include "Supplier.h"
#include "orbsvcs/orbsvcs/NotifyExtC.h"
#include "orbsvcs/orbsvcs/CosNamingC.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID (Notify, TAO_Notify_ThreadPool_Supplier_Client, "$Id$")
diff --git a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.cpp b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.cpp
index b7a9c8b0c02..5a3cd81e26a 100644
--- a/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.cpp
+++ b/TAO/orbsvcs/orbsvcs/CosEvent/CEC_Dispatching_Task.cpp
@@ -10,6 +10,8 @@
#include "CEC_Dispatching_Task.i"
#endif /* __ACE_INLINE__ */
+#include "ace/OS_NS_errno.h"
+
ACE_RCSID (CosEvent,
CEC_Dispatching,
"$Id$")
diff --git a/TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp b/TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp
index 1f9157326f7..f08038fa0a8 100644
--- a/TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp
+++ b/TAO/orbsvcs/orbsvcs/Event/RT_Task.cpp
@@ -13,6 +13,7 @@
#endif /* __ACE_INLINE__ */
#include "tao/Timeprobe.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Event, RT_Task, "$Id$")
diff --git a/TAO/orbsvcs/orbsvcs/Log/LogNotification.cpp b/TAO/orbsvcs/orbsvcs/Log/LogNotification.cpp
index 858ac70e3ee..0092e5e79f5 100644
--- a/TAO/orbsvcs/orbsvcs/Log/LogNotification.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/LogNotification.cpp
@@ -4,7 +4,6 @@
#include "tao/debug.h"
#include "ace/OS_NS_sys_time.h"
-
ACE_RCSID (Log,
LogNotification,
"$Id$")
diff --git a/TAO/orbsvcs/orbsvcs/Log/PersistStore.cpp b/TAO/orbsvcs/orbsvcs/Log/PersistStore.cpp
index 25453394f47..8242f3a05d2 100644
--- a/TAO/orbsvcs/orbsvcs/Log/PersistStore.cpp
+++ b/TAO/orbsvcs/orbsvcs/Log/PersistStore.cpp
@@ -4,6 +4,8 @@
#include "ace/OS_NS_sys_time.h"
#include "orbsvcs/Time_Utilities.h"
+#include "ace/OS_NS_fcntl.h"
+#include "ace/OS_NS_sys_time.h"
ACE_RCSID (Log,
PersistStore,
diff --git a/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl b/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl
index c35b4bc7446..66c35ce83d6 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl
+++ b/TAO/orbsvcs/orbsvcs/Notify/Method_Request.inl
@@ -1,5 +1,7 @@
// $Id$
+#include "ace/OS_NS_sys_time.h"
+
ACE_INLINE void
TAO_Notify_Method_Request::init (const TAO_Notify_Event_var& event)
{
diff --git a/TAO/orbsvcs/tests/Concurrency/CC_client.cpp b/TAO/orbsvcs/tests/Concurrency/CC_client.cpp
index c67ba4310fc..04695ae8b56 100644
--- a/TAO/orbsvcs/tests/Concurrency/CC_client.cpp
+++ b/TAO/orbsvcs/tests/Concurrency/CC_client.cpp
@@ -24,6 +24,7 @@
#include "ace/Read_Buffer.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Concurrency, CC_client, "$Id$")
diff --git a/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.cpp b/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.cpp
index 6f870422a1e..84aa1d0aba6 100644
--- a/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/lib/Counting_Consumer.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "Counting_Consumer.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(CEC_Tests, CEC_Count_Consumer, "$Id$")
diff --git a/TAO/orbsvcs/tests/CosEvent/lib/Counting_Supplier.cpp b/TAO/orbsvcs/tests/CosEvent/lib/Counting_Supplier.cpp
index 7a88b4bf868..4450bfb47fd 100644
--- a/TAO/orbsvcs/tests/CosEvent/lib/Counting_Supplier.cpp
+++ b/TAO/orbsvcs/tests/CosEvent/lib/Counting_Supplier.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "Counting_Supplier.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(CEC_Tests, CEC_Count_Supplier, "$Id$")
diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp
index 7a9916086f9..5dff1412a09 100644
--- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp
+++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Consumer.cpp
@@ -14,6 +14,7 @@
#include "ace/Get_Opt.h"
#include "ace/Auto_Ptr.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(EC_Custom_Marshal, ECM_Consumer, "$Id$")
diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
index 9123c9ec67b..8bf2e961486 100644
--- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
+++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp
@@ -12,6 +12,7 @@
#include "orbsvcs/CosNamingC.h"
#include "ECM_Supplier.h"
#include "ECM_Data.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(EC_Custom_Marshal, ECM_Supplier, "$Id$")
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp b/TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp
index 5cb9dcba533..be3e75e7ed8 100644
--- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp
+++ b/TAO/orbsvcs/tests/EC_Throughput/ECT_Consumer_Driver.cpp
@@ -13,6 +13,7 @@
#include "ace/Get_Opt.h"
#include "ace/Auto_Ptr.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(EC_Throughput, ECT_Consumer_Driver, "$Id$")
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp
index eb5e9103bcd..701da7d3d15 100644
--- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp
+++ b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp
@@ -13,6 +13,7 @@
#include "ace/Get_Opt.h"
#include "ace/Auto_Ptr.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(EC_Throughput, ECT_Supplier_Driver, "$Id$")
diff --git a/TAO/orbsvcs/tests/Event/Performance/Latency.cpp b/TAO/orbsvcs/tests/Event/Performance/Latency.cpp
index 99c73117548..23c11650fd9 100644
--- a/TAO/orbsvcs/tests/Event/Performance/Latency.cpp
+++ b/TAO/orbsvcs/tests/Event/Performance/Latency.cpp
@@ -11,6 +11,7 @@
#include "ace/Sample_History.h"
#include "ace/Basic_Stats.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(EC_Tests_Performance, Latency, "$Id$")
diff --git a/TAO/orbsvcs/tests/Event/Performance/Latency_Server.cpp b/TAO/orbsvcs/tests/Event/Performance/Latency_Server.cpp
index 8296151d9fc..875bbf1803d 100644
--- a/TAO/orbsvcs/tests/Event/Performance/Latency_Server.cpp
+++ b/TAO/orbsvcs/tests/Event/Performance/Latency_Server.cpp
@@ -10,6 +10,7 @@
#include "ace/Get_Opt.h"
#include "ace/Sample_History.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(EC_Tests_Performance, Latency_Server, "$Id$")
diff --git a/TAO/orbsvcs/tests/Event/lib/Driver.cpp b/TAO/orbsvcs/tests/Event/lib/Driver.cpp
index d3a83984fbe..172264d2acd 100644
--- a/TAO/orbsvcs/tests/Event/lib/Driver.cpp
+++ b/TAO/orbsvcs/tests/Event/lib/Driver.cpp
@@ -15,6 +15,7 @@
#include "ace/Arg_Shifter.h"
#include "ace/High_Res_Timer.h"
#include "ace/Stats.h"
+#include "ace/OS_NS_errno.h"
#if !defined(EC_DISABLE_OLD_EC)
#include "EC_Scheduler_Info.h"
diff --git a/TAO/orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp b/TAO/orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp
index bc96cec4c0b..1486816ff5e 100644
--- a/TAO/orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp
+++ b/TAO/orbsvcs/tests/Notify/MT_Dispatching/Structured_Consumer.cpp
@@ -10,6 +10,7 @@
#include "orbsvcs/CosNamingC.h"
#include "Notify_Structured_Push_Consumer.h"
#include "goC.h"
+#include "ace/OS_NS_sys_time.h"
#include "Notify_Test_Client.h"
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp
index 2407775055c..1ff4cb087c0 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Sequence_Consumer.cpp
@@ -11,6 +11,7 @@
#include "Notify_Sequence_Push_Consumer.h"
#include "goC.h"
#include "tao/debug.h"
+#include "ace/OS_NS_sys_time.h"
#include "Notify_Test_Client.h"
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp
index bf2a70205bb..8c543bd6b44 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/Filter/Structured_Consumer.cpp
@@ -12,6 +12,7 @@
#include "goC.h"
#include "tao/debug.h"
#include "Notify_Test_Client.h"
+#include "ace/OS_NS_sys_time.h"
// ******************************************************************
// Data Section
diff --git a/TAO/performance-tests/Callback/client.cpp b/TAO/performance-tests/Callback/client.cpp
index 3b593025d92..097a453a527 100644
--- a/TAO/performance-tests/Callback/client.cpp
+++ b/TAO/performance-tests/Callback/client.cpp
@@ -11,6 +11,7 @@
#include "ace/Stats.h"
#include "ace/Sched_Params.h"
#include "ace/Task.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Callback, client, "$Id$")
diff --git a/TAO/performance-tests/Callback/server.cpp b/TAO/performance-tests/Callback/server.cpp
index 9d7cfc1e71e..f36c48039ec 100644
--- a/TAO/performance-tests/Callback/server.cpp
+++ b/TAO/performance-tests/Callback/server.cpp
@@ -6,6 +6,7 @@
#include "tao/Strategies/advanced_resource.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Callback, server, "$Id$")
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
index bebfe8c6f0b..52db188302d 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/Cubit_Client.cpp
@@ -11,6 +11,7 @@
#include "ace/Read_Buffer.h"
#include "ace/OS_NS_fcntl.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(IDL_Cubit, Cubit_Client, "Cubit_Client.cpp,v 1.31 1999/08/04 07:15:14 nanbor Exp")
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp
index 37f23f16ecc..637f330ddf2 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp
@@ -9,6 +9,7 @@
#include "Cubit_Client.h"
#include "tao/Timeprobe.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
index a95744822e4..864c72ee84f 100644
--- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
+++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/server.cpp
@@ -10,6 +10,7 @@
#include "tao/Timeprobe.h"
#include "ace/Sched_Params.h"
#include "ace/streams.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/AMH/Single_Threaded/client.cpp b/TAO/performance-tests/Latency/AMH/Single_Threaded/client.cpp
index 2d841b9909d..00a51f7de75 100644
--- a/TAO/performance-tests/Latency/AMH/Single_Threaded/client.cpp
+++ b/TAO/performance-tests/Latency/AMH/Single_Threaded/client.cpp
@@ -6,6 +6,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/AMH/Single_Threaded/server.cpp b/TAO/performance-tests/Latency/AMH/Single_Threaded/server.cpp
index e96f0ff595a..a76449261c5 100644
--- a/TAO/performance-tests/Latency/AMH/Single_Threaded/server.cpp
+++ b/TAO/performance-tests/Latency/AMH/Single_Threaded/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/AMI/client.cpp b/TAO/performance-tests/Latency/AMI/client.cpp
index 0d396c4b67b..cf34a32640c 100644
--- a/TAO/performance-tests/Latency/AMI/client.cpp
+++ b/TAO/performance-tests/Latency/AMI/client.cpp
@@ -6,6 +6,7 @@
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(AMI_Latency, client, "$Id$")
diff --git a/TAO/performance-tests/Latency/AMI/server.cpp b/TAO/performance-tests/Latency/AMI/server.cpp
index 74498dc13e0..9aefa38f531 100644
--- a/TAO/performance-tests/Latency/AMI/server.cpp
+++ b/TAO/performance-tests/Latency/AMI/server.cpp
@@ -4,6 +4,7 @@
#include "Server_Task.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/DII/client.cpp b/TAO/performance-tests/Latency/DII/client.cpp
index d09e48f5612..d351a3510b5 100644
--- a/TAO/performance-tests/Latency/DII/client.cpp
+++ b/TAO/performance-tests/Latency/DII/client.cpp
@@ -5,6 +5,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
#include "tao/TC_Constants_Forward.h"
diff --git a/TAO/performance-tests/Latency/DII/server.cpp b/TAO/performance-tests/Latency/DII/server.cpp
index e96f0ff595a..a76449261c5 100644
--- a/TAO/performance-tests/Latency/DII/server.cpp
+++ b/TAO/performance-tests/Latency/DII/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/DSI/client.cpp b/TAO/performance-tests/Latency/DSI/client.cpp
index 2a264e91b43..e4460d924b3 100644
--- a/TAO/performance-tests/Latency/DSI/client.cpp
+++ b/TAO/performance-tests/Latency/DSI/client.cpp
@@ -6,6 +6,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/DSI/server.cpp b/TAO/performance-tests/Latency/DSI/server.cpp
index ebc70ade1d7..e986310ab43 100644
--- a/TAO/performance-tests/Latency/DSI/server.cpp
+++ b/TAO/performance-tests/Latency/DSI/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/Deferred/client.cpp b/TAO/performance-tests/Latency/Deferred/client.cpp
index ea2c2982d3b..4d9b14f438d 100644
--- a/TAO/performance-tests/Latency/Deferred/client.cpp
+++ b/TAO/performance-tests/Latency/Deferred/client.cpp
@@ -13,6 +13,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Deferred_Latency, client, "$Id$")
diff --git a/TAO/performance-tests/Latency/Deferred/server.cpp b/TAO/performance-tests/Latency/Deferred/server.cpp
index e96f0ff595a..a76449261c5 100644
--- a/TAO/performance-tests/Latency/Deferred/server.cpp
+++ b/TAO/performance-tests/Latency/Deferred/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/Single_Threaded/client.cpp b/TAO/performance-tests/Latency/Single_Threaded/client.cpp
index 2d841b9909d..00a51f7de75 100644
--- a/TAO/performance-tests/Latency/Single_Threaded/client.cpp
+++ b/TAO/performance-tests/Latency/Single_Threaded/client.cpp
@@ -6,6 +6,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/Single_Threaded/server.cpp b/TAO/performance-tests/Latency/Single_Threaded/server.cpp
index e96f0ff595a..a76449261c5 100644
--- a/TAO/performance-tests/Latency/Single_Threaded/server.cpp
+++ b/TAO/performance-tests/Latency/Single_Threaded/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/Thread_Per_Connection/client.cpp b/TAO/performance-tests/Latency/Thread_Per_Connection/client.cpp
index 69aac2b4ca5..fcc91075b87 100644
--- a/TAO/performance-tests/Latency/Thread_Per_Connection/client.cpp
+++ b/TAO/performance-tests/Latency/Thread_Per_Connection/client.cpp
@@ -5,6 +5,7 @@
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/Thread_Per_Connection/server.cpp b/TAO/performance-tests/Latency/Thread_Per_Connection/server.cpp
index 004ce70cebf..26f9ed145c8 100644
--- a/TAO/performance-tests/Latency/Thread_Per_Connection/server.cpp
+++ b/TAO/performance-tests/Latency/Thread_Per_Connection/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/Thread_Pool/client.cpp b/TAO/performance-tests/Latency/Thread_Pool/client.cpp
index 643f541a53f..bb830e88a0f 100644
--- a/TAO/performance-tests/Latency/Thread_Pool/client.cpp
+++ b/TAO/performance-tests/Latency/Thread_Pool/client.cpp
@@ -5,6 +5,7 @@
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Latency/Thread_Pool/server.cpp b/TAO/performance-tests/Latency/Thread_Pool/server.cpp
index bcacaf713c2..11acf78a42d 100644
--- a/TAO/performance-tests/Latency/Thread_Pool/server.cpp
+++ b/TAO/performance-tests/Latency/Thread_Pool/server.cpp
@@ -4,6 +4,7 @@
#include "Worker_Thread.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/POA/Create_Reference/create_reference.cpp b/TAO/performance-tests/POA/Create_Reference/create_reference.cpp
index cb325ec6204..356f3c6ecbb 100644
--- a/TAO/performance-tests/POA/Create_Reference/create_reference.cpp
+++ b/TAO/performance-tests/POA/Create_Reference/create_reference.cpp
@@ -10,6 +10,7 @@
#include "ace/Stats.h"
#include "ace/Sample_History.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Activation, server, "$Id$")
diff --git a/TAO/performance-tests/POA/Implicit_Activation/client.cpp b/TAO/performance-tests/POA/Implicit_Activation/client.cpp
index 14da618907c..d3b7ab3d1e0 100644
--- a/TAO/performance-tests/POA/Implicit_Activation/client.cpp
+++ b/TAO/performance-tests/POA/Implicit_Activation/client.cpp
@@ -6,6 +6,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Activation, client, "$Id$")
diff --git a/TAO/performance-tests/POA/Implicit_Activation/collocated.cpp b/TAO/performance-tests/POA/Implicit_Activation/collocated.cpp
index 2a79b9ce374..562e77540ef 100644
--- a/TAO/performance-tests/POA/Implicit_Activation/collocated.cpp
+++ b/TAO/performance-tests/POA/Implicit_Activation/collocated.cpp
@@ -7,6 +7,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Activation, server, "$Id$")
diff --git a/TAO/performance-tests/POA/Implicit_Activation/server.cpp b/TAO/performance-tests/POA/Implicit_Activation/server.cpp
index cceb22c2bd8..9f3699650df 100644
--- a/TAO/performance-tests/POA/Implicit_Activation/server.cpp
+++ b/TAO/performance-tests/POA/Implicit_Activation/server.cpp
@@ -4,6 +4,7 @@
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Activation, server, "$Id$")
diff --git a/TAO/performance-tests/Pluggable/PP_Test_Client.cpp b/TAO/performance-tests/Pluggable/PP_Test_Client.cpp
index b477c99a771..d8549e3fada 100644
--- a/TAO/performance-tests/Pluggable/PP_Test_Client.cpp
+++ b/TAO/performance-tests/Pluggable/PP_Test_Client.cpp
@@ -8,6 +8,9 @@
#include "ace/Read_Buffer.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_errno.h"
+#include "ace/OS_NS_fcntl.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(IDL_Cubit, Cubit_Client, "$Id$")
diff --git a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.cpp b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.cpp
index 665fb6380db..541f125be66 100644
--- a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.cpp
+++ b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.cpp
@@ -10,6 +10,7 @@
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Barrier.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Latency, client, "$Id$")
diff --git a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.cpp b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.cpp
index 2b54912aca0..d163ae4de46 100644
--- a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.cpp
+++ b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.cpp
@@ -8,6 +8,7 @@
#include "ace/Get_Opt.h"
#include "ace/Task.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(TPP, server, "$Id$")
diff --git a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp
index d342dca0f1a..8f2095c085a 100644
--- a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp
+++ b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.cpp
@@ -9,6 +9,8 @@
#include "ace/Sched_Params.h"
#include "tao/RTCORBA/Priority_Mapping_Manager.h"
#include "ace/Barrier.h"
+#include "ace/OS_NS_errno.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Latency, client, "$Id$")
diff --git a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/server.cpp b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/server.cpp
index 9b86e20661a..a21dc9dc0c4 100644
--- a/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/server.cpp
+++ b/TAO/performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/server.cpp
@@ -4,6 +4,7 @@
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_errno.h"
const char *ior_output_file = "test.ior";
diff --git a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp
index 7a15e4d2a46..7f05eaffe9b 100644
--- a/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp
+++ b/TAO/performance-tests/RTCorba/Oneways/Reliable/client.cpp
@@ -8,6 +8,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/High_Res_Timer.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID (Reliable,
client,
diff --git a/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp b/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp
index 619d4f53936..f4b4b02b8d1 100644
--- a/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp
+++ b/TAO/performance-tests/RTCorba/Oneways/Reliable/server.cpp
@@ -4,6 +4,7 @@
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Reliable, server, "$Id$")
diff --git a/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/client.cpp b/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/client.cpp
index 2e8ba74519c..18946dca23f 100644
--- a/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/client.cpp
@@ -6,6 +6,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/server.cpp b/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/server.cpp
index e96f0ff595a..a76449261c5 100644
--- a/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/AMH/Single_Threaded/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/AMI/client.cpp b/TAO/performance-tests/Sequence_Latency/AMI/client.cpp
index a2e4543150e..7984c536efe 100644
--- a/TAO/performance-tests/Sequence_Latency/AMI/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/AMI/client.cpp
@@ -6,6 +6,7 @@
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(AMI_Latency, client, "$Id$")
diff --git a/TAO/performance-tests/Sequence_Latency/AMI/server.cpp b/TAO/performance-tests/Sequence_Latency/AMI/server.cpp
index 74498dc13e0..9aefa38f531 100644
--- a/TAO/performance-tests/Sequence_Latency/AMI/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/AMI/server.cpp
@@ -4,6 +4,7 @@
#include "Server_Task.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/DII/client.cpp b/TAO/performance-tests/Sequence_Latency/DII/client.cpp
index 911f697f786..9c24138c3bf 100644
--- a/TAO/performance-tests/Sequence_Latency/DII/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/DII/client.cpp
@@ -6,6 +6,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
#include "tao/TC_Constants_Forward.h"
diff --git a/TAO/performance-tests/Sequence_Latency/DII/server.cpp b/TAO/performance-tests/Sequence_Latency/DII/server.cpp
index 8a2e8e55f14..f7ce55b8577 100644
--- a/TAO/performance-tests/Sequence_Latency/DII/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/DII/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/DSI/client.cpp b/TAO/performance-tests/Sequence_Latency/DSI/client.cpp
index c384a4bfa92..8298ea4930b 100644
--- a/TAO/performance-tests/Sequence_Latency/DSI/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/DSI/client.cpp
@@ -8,6 +8,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/DSI/server.cpp b/TAO/performance-tests/Sequence_Latency/DSI/server.cpp
index ebc70ade1d7..e986310ab43 100644
--- a/TAO/performance-tests/Sequence_Latency/DSI/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/DSI/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp b/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp
index e69e86d4b5c..a3a55517d9d 100644
--- a/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Deferred/client.cpp
@@ -13,6 +13,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
ACE_RCSID(Deferred_Latency, client, "$Id$")
diff --git a/TAO/performance-tests/Sequence_Latency/Deferred/server.cpp b/TAO/performance-tests/Sequence_Latency/Deferred/server.cpp
index 5da8445c542..20ea98c2655 100644
--- a/TAO/performance-tests/Sequence_Latency/Deferred/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Deferred/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/Single_Threaded/client.cpp b/TAO/performance-tests/Sequence_Latency/Single_Threaded/client.cpp
index d915c99b553..2352cf06b92 100644
--- a/TAO/performance-tests/Sequence_Latency/Single_Threaded/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Single_Threaded/client.cpp
@@ -6,6 +6,7 @@
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
#include "ace/Sample_History.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/Single_Threaded/server.cpp b/TAO/performance-tests/Sequence_Latency/Single_Threaded/server.cpp
index 84dee3ef01f..b3f4e9e135d 100644
--- a/TAO/performance-tests/Sequence_Latency/Single_Threaded/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Single_Threaded/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/client.cpp b/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/client.cpp
index 195a9b140f6..af752262c0d 100644
--- a/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/client.cpp
@@ -5,6 +5,7 @@
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/server.cpp b/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/server.cpp
index 004ce70cebf..26f9ed145c8 100644
--- a/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Thread_Per_Connection/server.cpp
@@ -3,6 +3,7 @@
#include "Roundtrip.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/Thread_Pool/client.cpp b/TAO/performance-tests/Sequence_Latency/Thread_Pool/client.cpp
index 2f553cfe46c..f12757f7de8 100644
--- a/TAO/performance-tests/Sequence_Latency/Thread_Pool/client.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Thread_Pool/client.cpp
@@ -5,6 +5,7 @@
#include "ace/High_Res_Timer.h"
#include "ace/Sched_Params.h"
#include "ace/Stats.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/performance-tests/Sequence_Latency/Thread_Pool/server.cpp b/TAO/performance-tests/Sequence_Latency/Thread_Pool/server.cpp
index 9e31806f6b7..2f0ba140ea3 100644
--- a/TAO/performance-tests/Sequence_Latency/Thread_Pool/server.cpp
+++ b/TAO/performance-tests/Sequence_Latency/Thread_Pool/server.cpp
@@ -4,6 +4,7 @@
#include "Worker_Thread.h"
#include "ace/Get_Opt.h"
#include "ace/Sched_Params.h"
+#include "ace/OS_NS_errno.h"
#include "tao/Strategies/advanced_resource.h"
diff --git a/TAO/tao/IIOP_Profile.cpp b/TAO/tao/IIOP_Profile.cpp
index 373a8537b4f..f9f74e78923 100644
--- a/TAO/tao/IIOP_Profile.cpp
+++ b/TAO/tao/IIOP_Profile.cpp
@@ -15,6 +15,8 @@ ACE_RCSID(TAO,
# include "IIOP_Profile.i"
#endif /* __ACE_INLINE__ */
+#include "ace/os_include/os_netdb.h"
+
static const char prefix_[] = "iiop";
const char TAO_IIOP_Profile::object_key_delimiter_ = '/';
diff --git a/TAO/tests/Blocking_Sync_None/Blocking_Sync_None.cpp b/TAO/tests/Blocking_Sync_None/Blocking_Sync_None.cpp
index 744dd414e47..864452afefb 100644
--- a/TAO/tests/Blocking_Sync_None/Blocking_Sync_None.cpp
+++ b/TAO/tests/Blocking_Sync_None/Blocking_Sync_None.cpp
@@ -2,6 +2,7 @@
// $Id$
//
#include "Blocking_Sync_None.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Blocking_Sync_None, Blocking_Sync_None, "$Id$")
diff --git a/TAO/tests/Bug_1020_Basic_Regression/Echo.cpp b/TAO/tests/Bug_1020_Basic_Regression/Echo.cpp
index 2ca8919602b..fefd938cd40 100644
--- a/TAO/tests/Bug_1020_Basic_Regression/Echo.cpp
+++ b/TAO/tests/Bug_1020_Basic_Regression/Echo.cpp
@@ -1,4 +1,5 @@
#include "Echo.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Bug_1269_Regression, Echo, "$Id$")
diff --git a/TAO/tests/Bug_1269_Regression/Echo.cpp b/TAO/tests/Bug_1269_Regression/Echo.cpp
index c1461312f99..de5c7090968 100644
--- a/TAO/tests/Bug_1269_Regression/Echo.cpp
+++ b/TAO/tests/Bug_1269_Regression/Echo.cpp
@@ -7,6 +7,7 @@
*
*/
#include "Echo.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Bug_1269_Regression, Echo, "$Id$")
diff --git a/TAO/tests/Bug_1270_Regression/Echo.cpp b/TAO/tests/Bug_1270_Regression/Echo.cpp
index ba565172b06..fba87f1e4e1 100644
--- a/TAO/tests/Bug_1270_Regression/Echo.cpp
+++ b/TAO/tests/Bug_1270_Regression/Echo.cpp
@@ -7,6 +7,7 @@
*
*/
#include "Echo.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Bug_1270_Regression, Echo, "$Id$")
diff --git a/TAO/tests/Bug_1361_Regression/Echo.cpp b/TAO/tests/Bug_1361_Regression/Echo.cpp
index d63cd9bb532..fa28f4babab 100644
--- a/TAO/tests/Bug_1361_Regression/Echo.cpp
+++ b/TAO/tests/Bug_1361_Regression/Echo.cpp
@@ -7,6 +7,7 @@
*
*/
#include "Echo.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Bug_1270_Regression, Echo, "$Id$")
diff --git a/TAO/tests/Client_Leaks/Process.cpp b/TAO/tests/Client_Leaks/Process.cpp
index 02e80c8e7aa..54a6acd58f3 100644
--- a/TAO/tests/Client_Leaks/Process.cpp
+++ b/TAO/tests/Client_Leaks/Process.cpp
@@ -2,6 +2,7 @@
// $Id$
//
#include "Process.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Client_Leaks, Process, "$Id$")
diff --git a/TAO/tests/Crash_On_Write/Crash_Task.cpp b/TAO/tests/Crash_On_Write/Crash_Task.cpp
index e010bf0cf5b..6b6e9c7d896 100644
--- a/TAO/tests/Crash_On_Write/Crash_Task.cpp
+++ b/TAO/tests/Crash_On_Write/Crash_Task.cpp
@@ -3,6 +3,7 @@
//
#include "Crash_Task.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Crash_On_Write, Crash_Task, "$Id$")
diff --git a/TAO/tests/Crash_On_Write/client.cpp b/TAO/tests/Crash_On_Write/client.cpp
index f43bed72e14..d6e7326fdef 100644
--- a/TAO/tests/Crash_On_Write/client.cpp
+++ b/TAO/tests/Crash_On_Write/client.cpp
@@ -2,6 +2,7 @@
#include "TestC.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Crash_On_Write, client, "$Id$")
diff --git a/TAO/tests/Explicit_Event_Loop/server.cpp b/TAO/tests/Explicit_Event_Loop/server.cpp
index 573fc514553..498c465ec22 100644
--- a/TAO/tests/Explicit_Event_Loop/server.cpp
+++ b/TAO/tests/Explicit_Event_Loop/server.cpp
@@ -23,6 +23,7 @@
#include "tao/debug.h"
#include "ace/Get_Opt.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
const char *ior_output_file = "server.ior";
int done = 0;
diff --git a/TAO/tests/Faults/pong.cpp b/TAO/tests/Faults/pong.cpp
index 1a12c4acb14..fbc0b86a42f 100644
--- a/TAO/tests/Faults/pong.cpp
+++ b/TAO/tests/Faults/pong.cpp
@@ -3,6 +3,7 @@
#include "ping_i.h"
#include "tao/debug.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Faults, server, "$Id$")
diff --git a/TAO/tests/Faults/test_i.cpp b/TAO/tests/Faults/test_i.cpp
index d35a7f275f6..58ada3805ed 100644
--- a/TAO/tests/Faults/test_i.cpp
+++ b/TAO/tests/Faults/test_i.cpp
@@ -6,6 +6,8 @@
#include "test_i.i"
#endif /* __ACE_INLINE__ */
+#include "ace/OS_NS_unistd.h"
+
ACE_RCSID(Failure, test_i, "$Id$")
void
diff --git a/TAO/tests/File_IO/File_i.cpp b/TAO/tests/File_IO/File_i.cpp
index 5e974639532..fd9c97a8d60 100644
--- a/TAO/tests/File_IO/File_i.cpp
+++ b/TAO/tests/File_IO/File_i.cpp
@@ -17,6 +17,7 @@
#include "File_i.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_fcntl.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Default_Servant, File_i, "File_i.cpp,v 1.14 2001/03/04 19:27:53 irfan Exp")
diff --git a/TAO/tests/Leader_Followers/test_i.cpp b/TAO/tests/Leader_Followers/test_i.cpp
index e114456a10f..38f3459b07a 100644
--- a/TAO/tests/Leader_Followers/test_i.cpp
+++ b/TAO/tests/Leader_Followers/test_i.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "test_i.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Leader_Followers, test_i, "$Id$")
diff --git a/TAO/tests/MProfile/server.cpp b/TAO/tests/MProfile/server.cpp
index 9bad4d5c876..12aea589a09 100644
--- a/TAO/tests/MProfile/server.cpp
+++ b/TAO/tests/MProfile/server.cpp
@@ -3,6 +3,7 @@
#include "ace/Get_Opt.h"
#include "test_i.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(MT_Client, server, "$Id$")
diff --git a/TAO/tests/MProfile_Forwarding/server.cpp b/TAO/tests/MProfile_Forwarding/server.cpp
index 36750cdc485..04c27ae739f 100755
--- a/TAO/tests/MProfile_Forwarding/server.cpp
+++ b/TAO/tests/MProfile_Forwarding/server.cpp
@@ -3,6 +3,7 @@
#include "ace/Get_Opt.h"
#include "test_i.h"
#include "ace/OS_NS_stdio.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(MT_Client, server, "$Id$")
diff --git a/TAO/tests/MT_Server/test_i.cpp b/TAO/tests/MT_Server/test_i.cpp
index 062d4555b9f..b3bd0d017d6 100644
--- a/TAO/tests/MT_Server/test_i.cpp
+++ b/TAO/tests/MT_Server/test_i.cpp
@@ -2,6 +2,7 @@
#include "test_i.h"
#include "tao/debug.h"
+#include "ace/OS_NS_unistd.h"
#if !defined(__ACE_INLINE__)
#include "test_i.i"
diff --git a/TAO/tests/MT_Timeout/Sleep_Service.cpp b/TAO/tests/MT_Timeout/Sleep_Service.cpp
index b234cb0feb0..5a6b7d95bcf 100644
--- a/TAO/tests/MT_Timeout/Sleep_Service.cpp
+++ b/TAO/tests/MT_Timeout/Sleep_Service.cpp
@@ -2,6 +2,7 @@
// $Id$
//
#include "Sleep_Service.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(MT_Timeout, Sleep_Service, "$Id$")
diff --git a/TAO/tests/Multiple_Inheritance/client.cpp b/TAO/tests/Multiple_Inheritance/client.cpp
index c1a8eb6e0a7..3fd4d75f900 100644
--- a/TAO/tests/Multiple_Inheritance/client.cpp
+++ b/TAO/tests/Multiple_Inheritance/client.cpp
@@ -20,6 +20,7 @@
#include "ace/Read_Buffer.h"
#include "Multiple_InheritanceC.h"
#include "ace/OS_NS_fcntl.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Multiple_Inheritance, client, "$Id$")
diff --git a/TAO/tests/Muxed_GIOP_Versions/test_i.cpp b/TAO/tests/Muxed_GIOP_Versions/test_i.cpp
index 5e03410be49..07e359a2f52 100644
--- a/TAO/tests/Muxed_GIOP_Versions/test_i.cpp
+++ b/TAO/tests/Muxed_GIOP_Versions/test_i.cpp
@@ -7,6 +7,8 @@
#include "test_i.i"
#endif /* __ACE_INLINE__ */
+#include "ace/OS_NS_unistd.h"
+
ACE_RCSID(MT_Server, test_i, "test_i.cpp,v 1.6 2002/01/29 20:21:08 okellogg Exp")
CORBA::Long
diff --git a/TAO/tests/NestedUpcall/MT_Client_Test/client.cpp b/TAO/tests/NestedUpcall/MT_Client_Test/client.cpp
index ea2df57ac11..5edb6d5ab70 100644
--- a/TAO/tests/NestedUpcall/MT_Client_Test/client.cpp
+++ b/TAO/tests/NestedUpcall/MT_Client_Test/client.cpp
@@ -22,6 +22,8 @@
#include "local_server.h"
#include "tao/debug.h"
#include "ace/Read_Buffer.h"
+#include "ace/OS_NS_unistd.h"
+#include "ace/OS_NS_fcntl.h"
ACE_RCSID(MT_Client_Test, client, "$Id$")
diff --git a/TAO/tests/NestedUpcall/MT_Client_Test/local_server.cpp b/TAO/tests/NestedUpcall/MT_Client_Test/local_server.cpp
index 9d8cd8d29bb..9fd0d1af53a 100644
--- a/TAO/tests/NestedUpcall/MT_Client_Test/local_server.cpp
+++ b/TAO/tests/NestedUpcall/MT_Client_Test/local_server.cpp
@@ -20,6 +20,8 @@
#include "local_server.h"
#include "tao/debug.h"
#include "ace/Read_Buffer.h"
+#include "ace/OS_NS_unistd.h"
+#include "ace/OS_NS_fcntl.h"
ACE_RCSID(MT_Client_Test, local_server, "$Id$")
diff --git a/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp b/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp
index 9698cb23931..6d2b87560d5 100644
--- a/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp
+++ b/TAO/tests/NestedUpcall/Triangle_Test/Object_B_i.cpp
@@ -19,6 +19,7 @@
#include "tao/Exception.h"
#include "Object_B_i.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Triangle_Test, Object_B_i, "$Id$")
diff --git a/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp b/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp
index cb1cbdabe68..455591b1b1c 100644
--- a/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp
+++ b/TAO/tests/NestedUpcall/Triangle_Test/initiator.cpp
@@ -21,6 +21,7 @@
#include "tao/debug.h"
#include "ace/Read_Buffer.h"
#include "ace/OS_NS_fcntl.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Triangle_Test, initiator, "$Id$")
diff --git a/TAO/tests/POA/Single_Threaded_POA/Single_Threaded_POA.cpp b/TAO/tests/POA/Single_Threaded_POA/Single_Threaded_POA.cpp
index f86d8a37dc3..43407dd6fb8 100644
--- a/TAO/tests/POA/Single_Threaded_POA/Single_Threaded_POA.cpp
+++ b/TAO/tests/POA/Single_Threaded_POA/Single_Threaded_POA.cpp
@@ -21,6 +21,7 @@
#include "testS.h"
#include "ace/Task.h"
+#include "ace/OS_NS_unistd.h"
class test_i : public virtual POA_test
{
diff --git a/TAO/tests/Param_Test/options.cpp b/TAO/tests/Param_Test/options.cpp
index 0def06a0ba5..35c42360b78 100644
--- a/TAO/tests/Param_Test/options.cpp
+++ b/TAO/tests/Param_Test/options.cpp
@@ -20,6 +20,8 @@
#include "tao/debug.h"
#include "ace/Read_Buffer.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_string.h"
+#include "ace/OS_NS_fcntl.h"
ACE_RCSID (Param_Test,
options,
diff --git a/TAO/tests/RTCORBA/RTMutex/server.cpp b/TAO/tests/RTCORBA/RTMutex/server.cpp
index e8a33d8f8fa..12964d835bc 100644
--- a/TAO/tests/RTCORBA/RTMutex/server.cpp
+++ b/TAO/tests/RTCORBA/RTMutex/server.cpp
@@ -5,6 +5,7 @@
#include "ace/Thread_Manager.h"
#include "ace/High_Res_Timer.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_unistd.h"
static int test_try_lock_flag =
#if defined (ACE_HAS_MUTEX_TIMEOUTS) && !defined (ACE_HAS_WTHREADS)
diff --git a/TAO/tests/RTScheduling/Current/Thread_Task.cpp b/TAO/tests/RTScheduling/Current/Thread_Task.cpp
index 66c60ec0d6f..87f33c30c1d 100644
--- a/TAO/tests/RTScheduling/Current/Thread_Task.cpp
+++ b/TAO/tests/RTScheduling/Current/Thread_Task.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "Thread_Task.h"
+#include "ace/OS_NS_errno.h"
int
Thread_Task::activate_task (CORBA::ORB_ptr orb,
diff --git a/TAO/tests/RTScheduling/DT_Spawn/Thread_Action.h b/TAO/tests/RTScheduling/DT_Spawn/Thread_Action.h
index 9daf3eb8e4f..e3b3f332fdf 100644
--- a/TAO/tests/RTScheduling/DT_Spawn/Thread_Action.h
+++ b/TAO/tests/RTScheduling/DT_Spawn/Thread_Action.h
@@ -3,6 +3,7 @@
#define Thread_Action_H
#include "tao/RTScheduling/RTScheduler.h"
+#include "ace/Log_Msg.h"
class Data
{
diff --git a/TAO/tests/RTScheduling/Scheduling_Interceptor/test_server.cpp b/TAO/tests/RTScheduling/Scheduling_Interceptor/test_server.cpp
index 02a1f5aad2f..dd3d44f05f9 100644
--- a/TAO/tests/RTScheduling/Scheduling_Interceptor/test_server.cpp
+++ b/TAO/tests/RTScheduling/Scheduling_Interceptor/test_server.cpp
@@ -4,6 +4,7 @@
#include "tao/RTScheduling/RTScheduler_Manager.h"
#include "testS.h"
#include "ace/Get_Opt.h"
+#include "ace/OS_NS_stdio.h"
const char* filename = "test.ior";
diff --git a/TAO/tests/RTScheduling/Thread_Cancel/Thread_Task.cpp b/TAO/tests/RTScheduling/Thread_Cancel/Thread_Task.cpp
index 5ead5c3a7ed..fcfd70c5dd7 100644
--- a/TAO/tests/RTScheduling/Thread_Cancel/Thread_Task.cpp
+++ b/TAO/tests/RTScheduling/Thread_Cancel/Thread_Task.cpp
@@ -3,6 +3,8 @@
#include "Thread_Task.h"
#include "ace/Atomic_Op.h"
#include "ace/Lock_Adapter_T.h"
+#include "ace/OS_NS_errno.h"
+#include "ace/OS_NS_unistd.h"
ACE_Atomic_Op<TAO_SYNCH_MUTEX, long> guid_index;
diff --git a/TAO/tests/Single_Read/test_i.cpp b/TAO/tests/Single_Read/test_i.cpp
index 9b0120c488c..5125a7c9c22 100644
--- a/TAO/tests/Single_Read/test_i.cpp
+++ b/TAO/tests/Single_Read/test_i.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "test_i.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Single_Read, test_i, "$Id$")
diff --git a/TAO/tests/Timed_Buffered_Oneways/test_i.cpp b/TAO/tests/Timed_Buffered_Oneways/test_i.cpp
index 9fbd1859f2a..159c09067ec 100644
--- a/TAO/tests/Timed_Buffered_Oneways/test_i.cpp
+++ b/TAO/tests/Timed_Buffered_Oneways/test_i.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "test_i.h"
+#include "ace/OS_NS_unistd.h"
ACE_RCSID(Timed_Buffered_Oneways, test_i, "$Id$")
diff --git a/TAO/tests/Timeout/test_i.cpp b/TAO/tests/Timeout/test_i.cpp
index 626d3d966a1..128ac2417da 100644
--- a/TAO/tests/Timeout/test_i.cpp
+++ b/TAO/tests/Timeout/test_i.cpp
@@ -6,6 +6,8 @@
#include "test_i.i"
#endif /* __ACE_INLINE__ */
+#include "ace/OS_NS_unistd.h"
+
ACE_RCSID(Timeout, test_i, "$Id$")
Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb)