diff options
-rw-r--r-- | src/chown.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chown.c b/src/chown.c index 1435d05fe..24bb84c59 100644 --- a/src/chown.c +++ b/src/chown.c @@ -38,6 +38,10 @@ #include "system.h" #include "error.h" +#ifdef HAVE_LCHOWN +# define chown(PATH, OWNER, GROUP) lchown(PATH, OWNER, GROUP) +#endif + #ifndef _POSIX_VERSION struct passwd *getpwnam (); struct group *getgrnam (); @@ -48,10 +52,6 @@ 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 (); |