diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:33:39 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-11-01 03:33:39 +0100 |
commit | dbda9adfaf388f62cf359ea728ae303d81df81a9 (patch) | |
tree | f6f75230432f02af3bcbffa59adc55e6b6c95244 /lib/replace/replace.h | |
parent | bbbe6ab72284c78c095babd875070aaac8c477dd (diff) | |
download | samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.tar.gz samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.tar.bz2 samba-dbda9adfaf388f62cf359ea728ae303d81df81a9.zip |
Move sys_readlink() 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 7d8bbec18f..fe01a8613e 100644 --- a/lib/replace/replace.h +++ b/lib/replace/replace.h @@ -225,6 +225,11 @@ int rep_chown(const char *path, uid_t uid, gid_t gid); int rep_link(const char *oldpath, const char *newpath); #endif +#ifndef HAVE_READLINK +#define readlink rep_readlink +int rep_readlink(const char *path, char *buf, size_t bufsize); +#endif + #ifndef HAVE_SETLINEBUF #define setlinebuf rep_setlinebuf void rep_setlinebuf(FILE *); |