From 05b637e340d536f7c0d3aba51659bef31d191668 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 18 Oct 2013 08:30:29 +0000 Subject: * libc/include/sys/unistd.h (MAXPATHLEN): Delete. * libc/include/sys/param.h (MAXPATHLEN): Define. * libc/sys/rtems/sys/param.h (MAXPATHLEN): Likewise. * libc/unix/getcwd.c: Include for MAXPATHLEN. --- newlib/libc/unix/getcwd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'newlib/libc/unix/getcwd.c') diff --git a/newlib/libc/unix/getcwd.c b/newlib/libc/unix/getcwd.c index b49a4b6e0..92f1b20fd 100644 --- a/newlib/libc/unix/getcwd.c +++ b/newlib/libc/unix/getcwd.c @@ -32,6 +32,7 @@ static char sccsid[] = "@(#)getcwd.c 5.11 (Berkeley) 2/24/91"; #endif /* LIBC_SCCS and not lint */ +#include #include #include #include -- cgit v1.2.3