Le 04/07/2016 10:30, Stephan Witt a écrit :
commit df73cade2bdbf272f5228ec895d97c21a20242d5
Author: Stephan Witt <sw...@lyx.org>
Date: Mon Jul 4 10:30:19 2016 +0200
Fix missing include for file i/o prototypes after header cleanup in change
489dca71cd99bbc78780fa40311a2eb042c0320e
---
src/ServerSocket.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/ServerSocket.cpp b/src/ServerSocket.cpp
index ece3549..fd903ce 100644
--- a/src/ServerSocket.cpp
+++ b/src/ServerSocket.cpp
@@ -39,6 +39,10 @@
# include <io.h>
#endif
+#ifdef HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
using namespace std;
using namespace lyx::support;
Thanks Stephan for this fix and all other fixes so far.
For the above one, I would much prefer to first understand what causes
the issue. No .h file from the tree includes unistd.h and therefore it
could not have been included indirectly previously. I removed the
include of support/bind.h but all it did load was std::functional (and
before that boost::functional and no such problem surfaced during the
change). The above problem is a mystery that deserves closer inspection IMO.