Prevent unix-specific headers from breaking compilation on Windows.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9832 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-04-19 12:12:47 +00:00
parent 887137a87a
commit cb99035b6f
2 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,9 @@
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.

View File

@ -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