diff options
author | Darren Tucker <dtucker@dtucker.net> | 2019-11-01 05:22:32 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2019-11-01 08:27:37 +0100 |
commit | 79d46de9fbea0f3c0e8ae7cf84effaba089071b0 (patch) | |
tree | 8f79bbf73e1d9edf251832b8723ce7420ea9db54 /openbsd-compat/bsd-misc.h | |
parent | Configure flags for haiku from haikuports. (diff) | |
download | openssh-79d46de9fbea0f3c0e8ae7cf84effaba089071b0.tar.xz openssh-79d46de9fbea0f3c0e8ae7cf84effaba089071b0.zip |
Use sftp_realpath if no native realpath.
Diffstat (limited to '')
-rw-r--r-- | openbsd-compat/bsd-misc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/bsd-misc.h b/openbsd-compat/bsd-misc.h index 5a369d9de..429ade047 100644 --- a/openbsd-compat/bsd-misc.h +++ b/openbsd-compat/bsd-misc.h @@ -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 */ |