summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Acceptor.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-04-19 11:38:50 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-04-19 11:38:50 +0000
commit85b06f5a2041cf5b3a4b959ca0df88e7129561f1 (patch)
treedc4500e495d97a4c4a287bf53b41c7d5f5112ef0 /TAO/tao/IIOP_Acceptor.h
parent672dfd3b014dd7e8e62625b9887a8ea8d8d2b0ca (diff)
downloadATCD-85b06f5a2041cf5b3a4b959ca0df88e7129561f1.tar.gz
ChangeLogTag: Wed Apr 19 11:23:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/IIOP_Acceptor.h')
-rw-r--r--TAO/tao/IIOP_Acceptor.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/tao/IIOP_Acceptor.h b/TAO/tao/IIOP_Acceptor.h
index 96103c44a22..01aea0b40de 100644
--- a/TAO/tao/IIOP_Acceptor.h
+++ b/TAO/tao/IIOP_Acceptor.h
@@ -19,19 +19,23 @@
#define TAO_IIOP_ACCEPTOR_H
#include /**/ "ace/pre.h"
-#include "ace/Acceptor.h"
+
+#include "tao/orbconf.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "ace/SOCK_Acceptor.h"
+#if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0)
#include "tao/Transport_Acceptor.h"
#include "tao/IIOP_Connection_Handler.h"
#include "tao/Acceptor_Impl.h"
#include "tao/GIOP_Message_Version.h"
+#include "ace/SOCK_Acceptor.h"
+#include "ace/Acceptor.h"
+
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/**
@@ -259,5 +263,7 @@ TAO_END_VERSIONED_NAMESPACE_DECL
#include "tao/IIOP_Acceptor.i"
#endif /* __ACE_INLINE__ */
+#endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */
+
#include /**/ "ace/post.h"
#endif /* TAO_IIOP_ACCEPTOR_H */