]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
fix compilation on systems without SYMLOOP_MAX
authorDamien Miller <djm@mindrot.org>
Thu, 15 Oct 2015 22:48:28 +0000 (15:48 -0700)
committerDamien Miller <djm@mindrot.org>
Thu, 15 Oct 2015 22:48:28 +0000 (15:48 -0700)
openbsd-compat/realpath.c

index a0199ab346a0536414652b37a04448fd05f6174a..a2f090e5512f0dcacce9f6a2bd67b251074244c4 100644 (file)
 #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 */
 
 /*