X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FServerSocket.cpp;h=3544235bba0340fd1e3e07b200d4195c1e5b9d82;hb=fbc64ea7ee115bdc4a55c214f28de2166d71f6a2;hp=ece3549a81df056f5b1ce900ae65922b465a5166;hpb=489dca71cd99bbc78780fa40311a2eb042c0320e;p=lyx.git diff --git a/src/ServerSocket.cpp b/src/ServerSocket.cpp index ece3549a81..3544235bba 100644 --- a/src/ServerSocket.cpp +++ b/src/ServerSocket.cpp @@ -18,7 +18,6 @@ #include "DispatchResult.h" #include "FuncRequest.h" -#include "LyX.h" #include "LyXAction.h" #include "frontends/Application.h" @@ -39,6 +38,10 @@ # include #endif +#ifdef HAVE_UNISTD_H +# include +#endif + using namespace std; using namespace lyx::support;