summaryrefslogtreecommitdiffstats
path: root/newlib/libc/unix/getcwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/unix/getcwd.c')
-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>