diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/chown.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/chown.c b/src/chown.c index f7facc10d..1435d05fe 100644 --- a/src/chown.c +++ b/src/chown.c @@ -48,6 +48,10 @@ struct group *getgrgid (); # define endpwent() ((void) 0) #endif +#ifdef HAVE_LCHOWN +# define chown(PATH, OWNER, GROUP) lchown(PATH, OWNER, GROUP) +#endif + char *savedir (); char *parse_user_spec (); void strip_trailing_slashes (); |