summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/driver
diff options
context:
space:
mode:
authorsumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-06 08:06:58 +0000
committersumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-06 08:06:58 +0000
commit759057d5cf0c9ef7a8779aebe87d6496abad452c (patch)
tree6d5ff45680f511039b349a8e590d69846d168120 /TAO/TAO_IDL/driver
parent7c060c94d709b8b1337b6de802edae88ebea3146 (diff)
downloadATCD-759057d5cf0c9ef7a8779aebe87d6496abad452c.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/TAO_IDL/driver')
-rw-r--r--TAO/TAO_IDL/driver/drv_fork.cpp5
-rw-r--r--TAO/TAO_IDL/driver/drv_preproc.cpp4
2 files changed, 9 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/driver/drv_fork.cpp b/TAO/TAO_IDL/driver/drv_fork.cpp
index a455e212f60..0ab4f6ef045 100644
--- a/TAO/TAO_IDL/driver/drv_fork.cpp
+++ b/TAO/TAO_IDL/driver/drv_fork.cpp
@@ -77,7 +77,12 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
#ifdef SOLARIS2
#include <unistd.h> // POSIX standard types
+
+#if defined (ACE_NETBSD)
+#include <sys/wait.h>
+#else
#include <wait.h> // POSIX definition of wait()
+#endif /* ACE_NETBSD */
#endif // SOLARIS2
diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp
index 121f222d6d1..59492352c27 100644
--- a/TAO/TAO_IDL/driver/drv_preproc.cpp
+++ b/TAO/TAO_IDL/driver/drv_preproc.cpp
@@ -80,7 +80,11 @@ trademarks or registered trademarks of Sun Microsystems, Inc.
#ifdef SOLARIS2
#include <unistd.h> // POSIX standard types
+#if defined (ACE_NETBSD)
+#include <sys/wait.h>
+#else
#include <wait.h> // POSIX definition of wait()
+#endif /* ACE_NETBSD */
#endif // SOLARIS2