about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-15 20:39:49 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-02-15 20:39:49 +0000
commitdf6a4a4aec992a20cdea2ad4cfc1341b3e96978b (patch)
tree6e858a261c25ca181601588236d4db6bea62c2ff
parent1cac72362af836bf205b40998f26b074a97873bc (diff)
downloadglibc-df6a4a4aec992a20cdea2ad4cfc1341b3e96978b.tar.gz
glibc-df6a4a4aec992a20cdea2ad4cfc1341b3e96978b.tar.xz
glibc-df6a4a4aec992a20cdea2ad4cfc1341b3e96978b.zip
Include sys/param.h in getcwd.c.
-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 a802b93d92..cb00422b50 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 0480a40a7d..6e3c5e0644 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>