diff options
author | Sumant Tambe <sutambe@users.noreply.github.com> | 2008-02-28 06:06:08 +0000 |
---|---|---|
committer | Sumant Tambe <sutambe@users.noreply.github.com> | 2008-02-28 06:06:08 +0000 |
commit | 7e9b670426ccbb2958dde12e3ecc8296ae90213e (patch) | |
tree | 2abb4fb2f19cd77ff6f045aac98831b00f2d88bb /TAO/TAO_IDL/contrib | |
parent | 92515919dffdf00502de08b2de36d6242ad3e140 (diff) | |
download | ATCD-7e9b670426ccbb2958dde12e3ecc8296ae90213e.tar.gz |
Thu Feb 28 06:01:19 UTC 2008 Sumant Tambe <sutambe@nospam>
Diffstat (limited to 'TAO/TAO_IDL/contrib')
-rw-r--r-- | TAO/TAO_IDL/contrib/mcpp/main.cpp | 4 | ||||
-rw-r--r-- | TAO/TAO_IDL/contrib/mcpp/support.cpp | 1 | ||||
-rw-r--r-- | TAO/TAO_IDL/contrib/mcpp/system.cpp | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/TAO/TAO_IDL/contrib/mcpp/main.cpp b/TAO/TAO_IDL/contrib/mcpp/main.cpp index e37f06ca267..28ee2a632c2 100644 --- a/TAO/TAO_IDL/contrib/mcpp/main.cpp +++ b/TAO/TAO_IDL/contrib/mcpp/main.cpp @@ -44,7 +44,7 @@ #include "ace/Log_Msg.h" #include "ace/OS_NS_stdio.h" - +#include "ace/OS_NS_stdlib.h" /* Function pointer to expand_macro() functions. */ char * (*expand_macro)( DEFBUF * defp, char * out, char * out_end); @@ -933,7 +933,7 @@ static void devide_line( *out_ptr = EOS; put_a_line( out); /* Putout the former tokens */ wp = out_ptr = stpcpy( out, save); /* Restore the token */ - ACE_OS::free( save); + ACE_OS::free( save); } else { /* Still in size */ out_ptr = wp; /* Advance the pointer */ } diff --git a/TAO/TAO_IDL/contrib/mcpp/support.cpp b/TAO/TAO_IDL/contrib/mcpp/support.cpp index 1e9e1f8e4e0..e22073e21be 100644 --- a/TAO/TAO_IDL/contrib/mcpp/support.cpp +++ b/TAO/TAO_IDL/contrib/mcpp/support.cpp @@ -77,6 +77,7 @@ #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_ctype.h" +#include "ace/OS_NS_stdlib.h" static void scan_id( int c); /* Scan an identifier */ diff --git a/TAO/TAO_IDL/contrib/mcpp/system.cpp b/TAO/TAO_IDL/contrib/mcpp/system.cpp index e59080f2b20..e46e43253be 100644 --- a/TAO/TAO_IDL/contrib/mcpp/system.cpp +++ b/TAO/TAO_IDL/contrib/mcpp/system.cpp @@ -44,10 +44,11 @@ #include "mcpp_lib.h" #endif -#include "ace/OS_NS_unistd.h" /* For getcwd(), readlink(), getopt() */ +#include "ace/OS_NS_unistd.h" /* For getcwd(), readlink(), getopt() */ #include "ace/OS_NS_stdio.h" #include "ace/OS_NS_ctype.h" #include "ace/OS_NS_time.h" +#include "ace/OS_NS_stdlib.h" #undef OUT |