This is the mail archive of the libc-alpha@sources.redhat.com 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: FreeBSD port (7): missing include in sprof.c


> On Linux <limits.h> is included by <sys/param.h> but since
> <sys/param.h> is not standardized, one shouldn't rely on it.

The <sys/param.h> header is provided by glibc and is part of the glibc API.
The proper fix is for all ports' <sys/param.h> headers to be reasonably
compatible.  That is, make yours include <limits.h>.


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