diff options
author | Jim Meyering <jim@meyering.net> | 1995-01-27 17:16:56 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-01-27 17:16:56 +0000 |
commit | 7ccb88fbc543f81a4d3cd19cc0e6c9bac84d336b (patch) | |
tree | 6742f78724057ca39cd1aa35106fad452a0629bc /lib | |
parent | 0fd3803567aa4893f4e13390b195e2e61f7752e4 (diff) | |
download | coreutils-7ccb88fbc543f81a4d3cd19cc0e6c9bac84d336b.tar.xz |
Declare errno if it's not defined.
Rename SAFE_STAT to safe_stat.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/euidaccess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/euidaccess.c b/lib/euidaccess.c index 00d6a9569..499040c5b 100644 --- a/lib/euidaccess.c +++ b/lib/euidaccess.c @@ -59,7 +59,7 @@ gid_t getegid (); #endif /* not POSIX_VERSION */ #include <errno.h> -#ifndef STDC_HEADERS +#ifndef errno extern int errno; #endif @@ -177,7 +177,7 @@ euidaccess (path, mode) return access (path, mode); } - if (SAFE_STAT (path, &stats)) + if (safe_stat (path, &stats)) return -1; return eaccess_stat (&stats, mode, path); |