1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
nixpkgs/pkgs/development/libraries/glibc-nptl/glibc-getcwd-param-MAX.patch
Eelco Dolstra 9cc12e9f05 * Old work on Glibc with NPTL. No idea if it compiles/works.
svn path=/nixpkgs/trunk/; revision=9157
2007-08-18 16:15:09 +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>