]> git.lyx.org Git - lyx.git/blobdiff - src/support/socktools.C
Consistent use of preprocessor guards;
[lyx.git] / src / support / socktools.C
index 1e6a0af1dea70ad6ab7954bd3779c299c9adcee8..23a0b5d011143968ec9a9f6c58e2fdff3e1cdd74 100644 (file)
 
 #include <config.h>
 
-#include "socktools.h"
+#include "support/socktools.h"
+#include "support/lyxlib.h"
+
 #include "debug.h"
-#include "lyxlib.h"
 
 #include <sys/socket.h>
 #include <sys/un.h>
 #include <fcntl.h>
-#include <unistd.h>
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
 
 #include <cerrno>