]> git.lyx.org Git - lyx.git/blobdiff - src/support/socktools.cpp
add onoff support for "inset-modify changetype xxx" in include inset
[lyx.git] / src / support / socktools.cpp
index 7537e126043afd9f91b5ec37b2f4fe45237d8b8f..aac25a2857e15eace0a57affa001fefb44dd104c 100644 (file)
@@ -3,7 +3,7 @@
  * 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.
  */
@@ -37,10 +37,11 @@ int accept(int)
 
 #else // defined (HAVE_FCNTL)
 
-#include "support/lyxlib.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>
@@ -49,6 +50,8 @@ int accept(int)
 #endif
 
 #include <cerrno>
+#include <string>
+#include <cstring>
 
 using namespace std;