- 2005-04-17 Angus Leeming <leeming@lyx.org>
+2005-04-19 Angus Leeming <leeming@lyx.org>
+
+ * pch.h: protect unix-specific headers from breaking compilation
+ on Windows.
+
+2005-04-17 Angus Leeming <leeming@lyx.org>
* filetools.C (MakeDisplayPath): invoke os::external_path before
returning path.
#include <boost/utility.hpp>
#include <fcntl.h>
-#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <sys/un.h>
-#include <sys/wait.h>
#include <time.h>
-#ifdef HAVE_UNISTD_H
+#ifndef _WIN32
+# include <sys/socket.h>
+# include <sys/un.h>
+# include <sys/wait.h>
# include <unistd.h>
#endif