1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

[HAVE_UNISTD_H]: Include unistd.h.

This commit is contained in:
Richard M. Stallman 1994-04-13 22:23:24 +00:00
parent 00c1bef4ea
commit 29beb080a9
3 changed files with 12 additions and 0 deletions

View File

@ -71,6 +71,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#endif /* USG */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef XENIX
#include <sys/locking.h>
#endif

View File

@ -27,6 +27,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <fcntl.h>
#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifndef O_RDONLY
#define O_RDONLY 0
#endif

View File

@ -22,6 +22,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#if !defined (S_ISLNK) && defined (S_IFLNK)
# define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
#endif