summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc-nptl/glibc-getcwd-param-MAX.patch
blob: 8543dbbf1d76d30a7fc769f9b4d26a45b699cd28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2006-06-18  Mike Frysinger  <vapier@gentoo.org>

	* sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.

--- glibc-old/sysdeps/unix/sysv/linux/getcwd.c
+++ glibc-new/sysdeps/unix/sysv/linux/getcwd.c
@@ -24,6 +24,7 @@
 #include <limits.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <sys/param.h>
 
 #include <sysdep.h>
 #include <sys/syscall.h>