mirror of git://anongit.mindrot.org/openssh.git
Use sftp_realpath if no native realpath.
This commit is contained in:
parent
bb4f003ed8
commit
79d46de9fb
|
@ -1783,6 +1783,7 @@ AC_CHECK_FUNCS([ \
|
|||
raise \
|
||||
readpassphrase \
|
||||
reallocarray \
|
||||
realpath \
|
||||
recvmsg \
|
||||
recallocarray \
|
||||
rresvport_af \
|
||||
|
|
|
@ -182,4 +182,8 @@ int flock(int, int);
|
|||
struct tm *localtime_r(const time_t *, struct tm *);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_REALPATH
|
||||
#define realpath(x, y) (sftp_realpath((x), (y))
|
||||
#endif
|
||||
|
||||
#endif /* _BSD_MISC_H */
|
||||
|
|
Loading…
Reference in New Issue