diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 6756bf55294..88e51bacec2 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -2176,7 +2176,7 @@ static int | |||
| 2176 | check_executable (filename) | 2176 | check_executable (filename) |
| 2177 | char *filename; | 2177 | char *filename; |
| 2178 | { | 2178 | { |
| 2179 | #ifdef __HURD__ | 2179 | #ifdef HAVE_EACCESS |
| 2180 | return (eaccess (filename, 1) >= 0); | 2180 | return (eaccess (filename, 1) >= 0); |
| 2181 | #else | 2181 | #else |
| 2182 | /* Access isn't quite right because it uses the real uid | 2182 | /* Access isn't quite right because it uses the real uid |
| @@ -2192,7 +2192,7 @@ static int | |||
| 2192 | check_writable (filename) | 2192 | check_writable (filename) |
| 2193 | char *filename; | 2193 | char *filename; |
| 2194 | { | 2194 | { |
| 2195 | #ifdef __HURD__ | 2195 | #ifdef HAVE_EACCESS |
| 2196 | return (eaccess (filename, 2) >= 0); | 2196 | return (eaccess (filename, 2) >= 0); |
| 2197 | #else | 2197 | #else |
| 2198 | /* Access isn't quite right because it uses the real uid | 2198 | /* Access isn't quite right because it uses the real uid |