diff options
-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 @@ | |||
44 | #include <unistd.h> | 44 | #include <unistd.h> |
45 | #include <limits.h> | 45 | #include <limits.h> |
46 | 46 | ||
47 | #ifndef SYMLOOP_MAX | ||
48 | # define SYMLOOP_MAX 32 | ||
49 | #endif | ||
50 | |||
47 | /* A slightly modified copy of this file exists in libexec/ld.so */ | 51 | /* A slightly modified copy of this file exists in libexec/ld.so */ |
48 | 52 | ||
49 | /* | 53 | /* |