This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: include sys/param.h in getcwd.c


On Wed, Feb 15, 2012 at 1:10 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> I came across this 2006 patch
> <http://sourceware.org/ml/libc-alpha/2006-06/msg00068.html> in the course
> of reviewing bugs. ?I think it should go in as an obvious fix - source
> files should use well-defined APIs of the headers they include rather than
> relying on long indirect include paths for internal headers. ?Comments?

I fully agree. Please check this fix into trunk. For several years I
carried a similar patch locally because the hppa header layout did not
pull in MAX.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]