Trivial patch that prevents unix-specific headers from breaking compilation
on Windows. Committing now.
--
Angus
Index: src/support/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/ChangeLog,v
retrieving revision 1.332
diff -u -p -r1.332 ChangeLog
--- src/support/ChangeLog 18 Apr 2005 17:43:11 -0000 1.332
+++ src/support/ChangeLog 19 Apr 2005 12:04:16 -0000
@@ -1,4 +1,9 @@
- 2005-04-17 Angus Leeming <[EMAIL PROTECTED]>
+2005-04-19 Angus Leeming <[EMAIL PROTECTED]>
+
+ * pch.h: protect unix-specific headers from breaking compilation
+ on Windows.
+
+2005-04-17 Angus Leeming <[EMAIL PROTECTED]>
* filetools.C (MakeDisplayPath): invoke os::external_path before
returning path.
Index: src/support/pch.h
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/support/pch.h,v
retrieving revision 1.5
diff -u -p -r1.5 pch.h
--- src/support/pch.h 20 Jan 2005 15:38:14 -0000 1.5
+++ src/support/pch.h 19 Apr 2005 12:04:16 -0000
@@ -15,13 +15,13 @@
#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