From 016070bcbdaa959f9184312343d895a3edcbf6fc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 11 Feb 2006 04:26:50 +0000 Subject: add back in code cut by previous commit to fix the pathconf test --- libc/unistd/pathconf.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/unistd') diff --git a/libc/unistd/pathconf.c b/libc/unistd/pathconf.c index 8d6e7ba40..8e3c0a352 100644 --- a/libc/unistd/pathconf.c +++ b/libc/unistd/pathconf.c @@ -35,6 +35,11 @@ libc_hidden_proto(statfs) libc_hidden_proto(stat) +/* The Linux kernel headers mention this as a kind of generic value. */ +#ifndef LINK_MAX +# define LINK_MAX 127 +#endif + /* Get file-specific information about PATH. */ long int pathconf (const char *path, int name) -- cgit v1.2.3