diff options
author | Damien Miller <djm@mindrot.org> | 2015-10-16 00:48:28 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-10-16 00:48:28 +0200 |
commit | eb6c50d82aa1f0d3fc95f5630ea69761e918bfcd (patch) | |
tree | 09cabda73599e04524a5793ab684c58ae94e6227 /openbsd-compat | |
parent | s/SANDBOX_TAME/SANDBOX_PLEDGE/g (diff) | |
download | openssh-eb6c50d82aa1f0d3fc95f5630ea69761e918bfcd.tar.xz openssh-eb6c50d82aa1f0d3fc95f5630ea69761e918bfcd.zip |
fix compilation on systems without SYMLOOP_MAX
Diffstat (limited to 'openbsd-compat')
-rw-r--r-- | openbsd-compat/realpath.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/realpath.c b/openbsd-compat/realpath.c index a0199ab34..a2f090e55 100644 --- a/openbsd-compat/realpath.c +++ b/openbsd-compat/realpath.c @@ -44,6 +44,10 @@ #include <unistd.h> #include <limits.h> +#ifndef SYMLOOP_MAX +# define SYMLOOP_MAX 32 +#endif + /* A slightly modified copy of this file exists in libexec/ld.so */ /* |