summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 13:45:10 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 13:45:10 +0000
commit7233cc2b7f81242b2a8d0d0381209d53d13871bd (patch)
tree8702c39f54f571850140159cbf5f425cb6818ab8
parent5b6f5de89bb524c9ba195fdebb5cbf6e36b0806f (diff)
downloadATCD-7233cc2b7f81242b2a8d0d0381209d53d13871bd.tar.gz
added #include of ace/streams.h, because the dump () method uses ofstream.
-rw-r--r--netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp
index cbf193af31c..c747f012011 100644
--- a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp
+++ b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp
@@ -3,6 +3,7 @@
#include "ace/Service_Config.h"
#include "ace/Read_Buffer.h"
#include "ace/Thread_Manager.h"
+#include "ace/streams.h" /* Because dump () uses ofstream. */
#include "Dump_Restore.h"
ACE_RCSID(Dump_Restore, Dump_Restore, "$Id$")
@@ -37,8 +38,8 @@ Dump_Restore::Dump_Restore (int argc, char *argv[])
this->display_menu ();
if (ACE_Event_Handler::register_stdin_handler (this,
- ACE_Reactor::instance (),
- ACE_Thread_Manager::instance ()) == -1)
+ ACE_Reactor::instance (),
+ ACE_Thread_Manager::instance ()) == -1)
ACE_ERROR ((LM_ERROR, "%p\n", "register_stdin_handler"));
}
@@ -125,7 +126,7 @@ Dump_Restore::display_menu (void)
ACE_DEBUG ((LM_DEBUG, "\n"));
ACE_DEBUG ((LM_DEBUG, "Name Service Main Menu\n"));
ACE_DEBUG ((LM_DEBUG, "----------------------\n"));
-
+
// Check if using local name space or remote name space
if (ACE_OS::strcmp (this->name_options_->nameserver_host (), "localhost") == 0)
{