diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:39:20 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:39:20 +0100 |
commit | 38d67363aca81b970717c58b07e04396ae9dfd9f (patch) | |
tree | 7355807312f4d733e8dc33174b798aa742437295 /lib/replace/replace.h | |
parent | e8cda43e171c1aa8f4b858228e715290d400691c (diff) | |
download | samba-38d67363aca81b970717c58b07e04396ae9dfd9f.tar.gz samba-38d67363aca81b970717c58b07e04396ae9dfd9f.tar.bz2 samba-38d67363aca81b970717c58b07e04396ae9dfd9f.zip |
Move sys_lchown() to libreplace.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r-- | lib/replace/replace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index f56c5b0dc9..b81bf5c576 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -235,6 +235,10 @@ int rep_readlink(const char *path, char *buf, size_t bufsize); int rep_symlink(const char *oldpath, const char *newpath); #endif +#ifndef HAVE_LCHOWN +#define lchown rep_lchown +int rep_lchown(const char *fname,uid_t uid,gid_t gid); +#endif #ifndef HAVE_SETLINEBUF #define setlinebuf rep_setlinebuf |