Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-10-18 12:30:29 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-10-18 12:30:29 +0400
commit05b637e340d536f7c0d3aba51659bef31d191668 (patch)
tree676a895aa69a4d72acdce63ac21729f43bc992ba /newlib/libc/unix
parent9240d3c82430948615ded9c8d2731ad4f1eaedf2 (diff)
* 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 <sys/param.h> for MAXPATHLEN.
Diffstat (limited to 'newlib/libc/unix')
-rw-r--r--newlib/libc/unix/getcwd.c1
1 files changed, 1 insertions, 0 deletions
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 <sys/param.h>
#include <sys/stat.h>
#include <errno.h>
#include <dirent.h>