* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author João Luis M. Assirati
+ * \author João Luis M. Assirati
*
* Full author contact details are available in file CREDITS.
*/
#else // defined (HAVE_FCNTL)
-#include "support/lyxlib.h"
-
-#include "debug.h"
+#include "support/debug.h"
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
#include <sys/socket.h>
#include <sys/un.h>
#include <fcntl.h>
#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)