From 85b06f5a2041cf5b3a4b959ca0df88e7129561f1 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Wed, 19 Apr 2006 11:38:50 +0000 Subject: ChangeLogTag: Wed Apr 19 11:23:12 UTC 2006 Johnny Willemsen --- TAO/tao/IIOP_Acceptor.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'TAO/tao/IIOP_Acceptor.h') 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 */ -- cgit v1.2.1