mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
Guard HAVE_UNISTD_H.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9512 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3b5537628b
commit
f3024416ad
@ -1,3 +1,7 @@
|
||||
2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
|
||||
|
||||
* pch.h: use the HAVE_UNISTD_H preprocessor guard.
|
||||
|
||||
2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
|
||||
|
||||
* client.C: use the HAVE_UNISTD_H preprocessor guard.
|
||||
|
@ -22,7 +22,7 @@
|
||||
// getpid(), getppid()
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
// select()
|
||||
|
@ -8,7 +8,9 @@
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <sys/select.h>
|
||||
#include <sys/socket.h>
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
|
||||
|
||||
* pch.h: use the HAVE_UNISTD_H preprocessor guard.
|
||||
|
||||
2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
|
||||
|
||||
* LyXView.C: use the HAVE_UNISTD_H preprocessor guard.
|
||||
|
@ -41,7 +41,7 @@
|
||||
|
||||
#include <sys/time.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
using lyx::support::MakeDisplayPath;
|
||||
|
@ -1,3 +1,7 @@
|
||||
2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
|
||||
|
||||
* support.c: use the HAVE_UNISTD_H preprocessor guard.
|
||||
|
||||
2005-01-10 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* lyx_gui.C: use support/package.h to provide the paths to the
|
||||
|
@ -8,7 +8,9 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <string.h>
|
||||
|
||||
#include <gnome.h>
|
||||
|
@ -8,7 +8,9 @@
|
||||
#include <boost/utility.hpp>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <limits>
|
||||
#include <map>
|
||||
|
@ -1,3 +1,9 @@
|
||||
2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
|
||||
|
||||
* FileInfo.h, chdir.C, forkedcall.C, forkedcontr.C, getcwd.C,
|
||||
mkdir.C, os_defines.h, pch.h, rmdir.C, unlink.C:
|
||||
use the HAVE_UNISTD_H preprocessor guard.
|
||||
|
||||
2005-01-20 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* filetools.[Ch] (LibScriptSearch): modify the code that replaces
|
||||
|
@ -16,7 +16,9 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <ctime>
|
||||
#include <string>
|
||||
|
@ -12,7 +12,9 @@
|
||||
|
||||
#include "support/lyxlib.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
int lyx::support::chdir(std::string const & name)
|
||||
{
|
||||
|
@ -42,7 +42,9 @@
|
||||
#include <cstdlib>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <vector>
|
||||
|
||||
|
@ -23,7 +23,9 @@
|
||||
|
||||
#include <cerrno>
|
||||
#include <cstdlib>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <sys/wait.h>
|
||||
|
||||
using boost::bind;
|
||||
|
@ -15,7 +15,9 @@
|
||||
#include <boost/scoped_array.hpp>
|
||||
|
||||
#include <cerrno>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
using boost::scoped_array;
|
||||
|
||||
|
@ -43,7 +43,7 @@ template struct boost::detail::crc_table_t<32, 0x04C11DB7, true>;
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <sys/mman.h>
|
||||
|
||||
|
@ -15,7 +15,9 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
int lyx::support::mkdir(std::string const & pathname, unsigned long int mode)
|
||||
{
|
||||
|
@ -23,7 +23,9 @@ inline int readlink(const char *, char *, size_t) {return -1;}
|
||||
#define readlink(s, t, l) (-1)
|
||||
#endif
|
||||
#include <process.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <X11/Xlocale.h>
|
||||
/* #include <malloc.h> */
|
||||
#define lstat stat
|
||||
|
@ -21,7 +21,9 @@
|
||||
#include <sys/un.h>
|
||||
#include <sys/wait.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
|
@ -12,7 +12,9 @@
|
||||
|
||||
#include "support/lyxlib.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
int lyx::support::rmdir(std::string const & dir)
|
||||
{
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <sys/un.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <cerrno>
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <cstdlib>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_MKSTEMP) && defined(HAVE_MKTEMP)
|
||||
|
@ -12,7 +12,9 @@
|
||||
|
||||
#include "support/lyxlib.h"
|
||||
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
int lyx::support::unlink(std::string const & pathname)
|
||||
{
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
#include <pwd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user