diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:42:27 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:42:27 +0100 |
commit | a6d537bb6cec25eb27cf8884ca5e3362a86818b3 (patch) | |
tree | acac8aa6554cd6910ec00716b2b3e40bbe4b4fe4 /lib/replace/replace.h | |
parent | 38d67363aca81b970717c58b07e04396ae9dfd9f (diff) | |
download | samba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.tar.gz samba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.tar.bz2 samba-a6d537bb6cec25eb27cf8884ca5e3362a86818b3.zip |
Move sys_realpath() to libreplace.
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r-- | lib/replace/replace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h index b81bf5c576..8d0dd57064 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -235,6 +235,11 @@ int rep_readlink(const char *path, char *buf, size_t bufsize); int rep_symlink(const char *oldpath, const char *newpath); #endif +#ifndef HAVE_REALPATH +#define realpath rep_realpath +char *rep_realpath(const char *path, char *resolved_path); +#endif + #ifndef HAVE_LCHOWN #define lchown rep_lchown int rep_lchown(const char *fname,uid_t uid,gid_t gid); |