aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/xreadlink.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbb/xreadlink.c b/libbb/xreadlink.c
index 0bdf394da..bb63da08c 100644
--- a/libbb/xreadlink.c
+++ b/libbb/xreadlink.c
@@ -8,6 +8,12 @@
8 8
9#include "libbb.h" 9#include "libbb.h"
10 10
11/* some systems (eg Hurd) does not have MAXSYMLINKS definition,
12 * set it to some reasonable value if it isn't defined */
13#ifndef MAXSYMLINKS
14# define MAXSYMLINKS 20
15#endif
16
11/* 17/*
12 * NOTE: This function returns a malloced char* that you will have to free 18 * NOTE: This function returns a malloced char* that you will have to free
13 * yourself. 19 * yourself.