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 */ /*