From bb045a4fbac4811638f8e1538b6f459d810d10f8 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Tue, 21 Aug 2007 22:10:58 +0000 Subject: [PATCH] Fix file inclusion in src/support/filetools.cpp under mac git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19707 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/filetools.cpp | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index 5558a0321b..15ecce0a1b 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -50,15 +50,27 @@ #include #include -#ifdef unix +#ifdef HAVE_UNISTD_H # include -# include +#endif +#ifdef HAVE_DIRECT_H +# include +#endif +#ifdef HAVE_SYS_TYPES_H # include +#endif +#ifdef HAVE_SYS_STAT_H # include -#else -# include +#endif +#ifdef HAVE_IO_H # include #endif +#ifdef HAVE_SYS_UTIME_H +# include +#endif +#ifdef HAVE_UTIME_H +# include +#endif #include "zip.h" #include "unzip.h" -- 2.39.5