aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/getcwd.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a802b93..cb00422 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-15 Mike Frysinger <vapier@gentoo.org>
+
+ * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
+
2012-02-15 Roland McGrath <roland@hack.frob.com>
* mach/devstream.c (cookie_io_functions_t): Macro removed.
diff --git a/sysdeps/unix/sysv/linux/getcwd.c b/sysdeps/unix/sysv/linux/getcwd.c
index 0480a40..6e3c5e0 100644
--- a/sysdeps/unix/sysv/linux/getcwd.c
+++ b/sysdeps/unix/sysv/linux/getcwd.c
@@ -1,6 +1,5 @@
/* Determine current working directory. Linux version.
- Copyright (C) 1997,1998,1999,2000,2002,2003,2006,2011
- Free Software Foundation, Inc.
+ Copyright (C) 1997-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -23,6 +22,7 @@
#include <limits.h>
#include <stdlib.h>
#include <unistd.h>
+#include <sys/param.h>
#include <sysdep.h>
#include <sys/syscall.h>