summaryrefslogtreecommitdiffstats
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-11-01 03:27:45 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-11-01 03:27:45 +0100
commit161d70a57ae8a17dcbc9c426bfff33c8c51318b7 (patch)
tree2f98456ae87db079c1348784e43ed2024f5580e9 /lib/replace/replace.h
parentdfc78b1dc2738264791e631c599d75e832aebde2 (diff)
downloadsamba-161d70a57ae8a17dcbc9c426bfff33c8c51318b7.tar.gz
samba-161d70a57ae8a17dcbc9c426bfff33c8c51318b7.tar.xz
samba-161d70a57ae8a17dcbc9c426bfff33c8c51318b7.zip
Move sys_chown() to rep_chown().
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index a8164b642b1..2518d40a65d 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -215,6 +215,11 @@ int rep_seteuid(uid_t);
int rep_setegid(gid_t);
#endif
+#ifndef HAVE_CHOWN
+#define chown rep_chown
+int rep_chown(const char *path, uid_t uid, gid_t gid);
+#endif
+
#ifndef HAVE_SETLINEBUF
#define setlinebuf rep_setlinebuf
void rep_setlinebuf(FILE *);