aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/socketchan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ncpd/socketchan.cc')
-rw-r--r--ncpd/socketchan.cc13
1 files changed, 8 insertions, 5 deletions
diff --git a/ncpd/socketchan.cc b/ncpd/socketchan.cc
index d0b22bf..0d74549 100644
--- a/ncpd/socketchan.cc
+++ b/ncpd/socketchan.cc
@@ -24,17 +24,20 @@
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
-#include <stream.h>
+
+#include <string>
+
+#include <ppsocket.h>
+#include <rfsv.h>
+
#include <stdio.h>
-#include <string.h>
#include <malloc.h>
#include "socketchan.h"
#include "ncp.h"
-#include <ppsocket.h>
-#include <rfsv.h>
+#include "main.h"
-extern std::ostream lerr;
+using namespace std;
socketChan:: socketChan(ppsocket * _skt, ncp * _ncpController):
channel(_ncpController)