nixpkgs/pkgs/development/libraries/glibc-2.7/glibc-getcwd-param-MAX.patch
Eelco Dolstra b37f504680 * Updated various stdenv packages (grep, gawk, tar, cpio, findutils,
pcre).

svn path=/nixpkgs/branches/stdenv-updates/; revision=9758
2007-11-19 17:39:19 +00:00

15 lines
356 B
Diff

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>