include sys/param.h in getcwd.c

Mike Frysinger vapier@gentoo.org
Sun Jun 18 06:57:00 GMT 2006


the recent change to use MAX(getpagesize()) in the linux getcwd.c assumes that 
the header files it includes already will eventually pull in sys/param.h and 
setup the MAX() define ... the attached patch adds an explicit sys/param.h 
include to get rid of this implicit include path
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060618/34e20d81/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-getcwd-param-MAX.patch
Type: text/x-diff
Size: 336 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20060618/34e20d81/attachment.bin>


More information about the Libc-alpha mailing list