FreeBSD port (7): missing include in sprof.c

Roland McGrath roland@redhat.com
Mon Aug 26 01:10:00 GMT 2002


> 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>.



More information about the Libc-alpha mailing list