summaryrefslogtreecommitdiff
path: root/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/GIOP_Message_Generator_Parser_10.cpp')
-rw-r--r--TAO/tao/GIOP_Message_Generator_Parser_10.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
index 3775c7789be..d5bb7996fa8 100644
--- a/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
+++ b/TAO/tao/GIOP_Message_Generator_Parser_10.cpp
@@ -11,6 +11,7 @@
#include "tao/SystemException.h"
#include "ace/Log_Msg.h"
+#include <cstring>
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
@@ -81,7 +82,7 @@ TAO_GIOP_Message_Generator_Parser_10::write_request_header (
if (result != 0)
{
const CORBA::ULong username_size =
- static_cast<CORBA::ULong> (ACE_OS::strlen (username));
+ static_cast<CORBA::ULong> (std::strlen (username));
CORBA::Octet *buffer =
CORBA::OctetSeq::allocbuf (username_size + 1);