From eb6c50d82aa1f0d3fc95f5630ea69761e918bfcd Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 15 Oct 2015 15:48:28 -0700 Subject: fix compilation on systems without SYMLOOP_MAX --- openbsd-compat/realpath.c | 4 ++++ 1 file changed, 4 insertions(+) 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 #include +#ifndef SYMLOOP_MAX +# define SYMLOOP_MAX 32 +#endif + /* A slightly modified copy of this file exists in libexec/ld.so */ /* -- cgit v1.2.3