Commit 29beb080 authored by Richard M. Stallman's avatar Richard M. Stallman

[HAVE_UNISTD_H]: Include unistd.h.

parent 00c1bef4
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment