diff options
Diffstat (limited to 'TAO/tao/IIOP_Profile.h')
-rw-r--r-- | TAO/tao/IIOP_Profile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tao/IIOP_Profile.h b/TAO/tao/IIOP_Profile.h index a7d52bbc467..4c338cbc664 100644 --- a/TAO/tao/IIOP_Profile.h +++ b/TAO/tao/IIOP_Profile.h @@ -18,12 +18,15 @@ #include /**/ "ace/pre.h" -#include "tao/Profile.h" +#include "tao/orbconf.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#if defined (TAO_HAS_IIOP) && (TAO_HAS_IIOP != 0) + +#include "tao/Profile.h" #include "tao/IIOP_Endpoint.h" TAO_BEGIN_VERSIONED_NAMESPACE_DECL @@ -171,6 +174,8 @@ protected: TAO_END_VERSIONED_NAMESPACE_DECL +#endif /* TAO_HAS_IIOP && TAO_HAS_IIOP != 0 */ + #include /**/ "ace/post.h" #endif /* TAO_IIOP_PROFILE_H */ |