diff options
Diffstat (limited to 'TAO/TAO_IDL/be/be_codegen.cpp')
-rw-r--r-- | TAO/TAO_IDL/be/be_codegen.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_codegen.cpp b/TAO/TAO_IDL/be/be_codegen.cpp index 531783da149..bdd33900afc 100644 --- a/TAO/TAO_IDL/be/be_codegen.cpp +++ b/TAO/TAO_IDL/be/be_codegen.cpp @@ -171,7 +171,10 @@ TAO_CodeGen::start_client_header (const char *fname) else *this->client_header_ << "<"; - *this->client_header_ << "tao/corba.h"; + if (idl_global->gen_locality_constraint ()) + *this->client_header_ << "tao/corbafwd.h"; + else + *this->client_header_ << "tao/corba.h"; if (idl_global->changing_standard_include_files () == 1) *this->client_header_ << "\"\n"; |