summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-02 15:54:55 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-02 15:54:55 +0000
commitf099515485e43038b81ad0f3970c20ed02412009 (patch)
tree3efb3bf8a1497ff09a1217708d9294763caacd20
parent4c9e837c9059f616dc4683b049c8b5f7bc22d410 (diff)
downloadATCD-f099515485e43038b81ad0f3970c20ed02412009.tar.gz
ChangeLogTag:Thu Sep 02 10:47:23 1999 Nanbor Wang <nanbor@cs.wustl.edu>
-rw-r--r--TAO/TAO_IDL/be/be_codegen.cpp5
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";