From cb99035b6ff16a3911c84ad0a6881b7df71b72df Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 19 Apr 2005 12:12:47 +0000 Subject: [PATCH] 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 --- src/support/ChangeLog | 7 ++++++- src/support/pch.h | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/support/ChangeLog b/src/support/ChangeLog index 07f36f8039..80bb593a60 100644 --- a/src/support/ChangeLog +++ b/src/support/ChangeLog @@ -1,4 +1,9 @@ - 2005-04-17 Angus Leeming +2005-04-19 Angus Leeming + + * pch.h: protect unix-specific headers from breaking compilation + on Windows. + +2005-04-17 Angus Leeming * filetools.C (MakeDisplayPath): invoke os::external_path before returning path. diff --git a/src/support/pch.h b/src/support/pch.h index 686c524382..dffc65e01e 100644 --- a/src/support/pch.h +++ b/src/support/pch.h @@ -15,13 +15,13 @@ #include #include -#include #include #include -#include -#include #include -#ifdef HAVE_UNISTD_H +#ifndef _WIN32 +# include +# include +# include # include #endif -- 2.39.2