]> git.lyx.org Git - lyx.git/blobdiff - src/support/socktools.cpp
Fix layout bug. Pasting text into a cell tried to set Standard layout, because
[lyx.git] / src / support / socktools.cpp
index 662739f2720a16d5628fac0472c6cf14b92a723a..3b9574871f3ed94e99d49997e7e718e99667a651 100644 (file)
@@ -37,9 +37,7 @@ int accept(int)
 
 #else // defined (HAVE_FCNTL)
 
-#include "support/lyxlib.h"
-
-#include "debug.h"
+#include "support/debug.h"
 
 #include <sys/socket.h>
 #include <sys/un.h>
@@ -49,12 +47,11 @@ int accept(int)
 #endif
 
 #include <cerrno>
+#include <string>
+#include <cstring>
 
-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)