Use the HAVE_UNISTD_H guard.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_3_X@9505 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-01-20 10:47:29 +00:00
parent f7be02fbe8
commit d16564f953
4 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@
* BufferView_pimpl.C:
* DepTable.C:
* buffer.C:
* lyxserver.C:
* lyxvc.C: use the HAVE_UNISTD_H guard.
2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>

View File

@ -38,7 +38,9 @@
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <fcntl.h>
#include <cerrno>

View File

@ -2,6 +2,7 @@
* FileInfo.h:
* chdir.C:
* forkedcall.C:
* forkedcontr.C:
* getcwd.C:
* lyxsum.C:

View File

@ -40,7 +40,9 @@
#include <sys/wait.h>
#include <csignal>
#include <cstdlib>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
using std::endl;