summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-10-15 15:48:28 -0700
committerDamien Miller <djm@mindrot.org>2015-10-15 15:48:28 -0700
commiteb6c50d82aa1f0d3fc95f5630ea69761e918bfcd (patch)
tree09cabda73599e04524a5793ab684c58ae94e6227
parentfafe1d84a210fb3dae7744f268059cc583db8c12 (diff)
fix compilation on systems without SYMLOOP_MAX
-rw-r--r--openbsd-compat/realpath.c4
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/*