]> git.lyx.org Git - lyx.git/blobdiff - src/support/socktools.cpp
Replace the text class shared ptr by good old index-into-global-list.
[lyx.git] / src / support / socktools.cpp
index 9215228df9cee6d21a7032f06b8fbdbfc5767796..25e9716e4967c38bbb94aae4ba9ab400b1f86ea1 100644 (file)
@@ -37,8 +37,6 @@ int accept(int)
 
 #else // defined (HAVE_FCNTL)
 
-#include "support/lyxlib.h"
-
 #include "support/debug.h"
 
 #include <sys/socket.h>
@@ -49,12 +47,10 @@ int accept(int)
 #endif
 
 #include <cerrno>
+#include <string>
 
-using std::string;
+using namespace std;
 
-#ifndef CXX_GLOBAL_CSTD
-using std::strerror;
-#endif
 
 // This MACRO eppears to be defined only on Linux.
 #if !defined(SUN_LEN)