On Tue, Jan 21, 2003 at 04:01:05PM +0000, Thom May wrote: > > to: > > > > /* header files for PATH_MAX, _POSIX_PATH_MAX */ > > #if APR_HAVE_LIMITS_H > > #include <limits.h> > > #endif > > #if APR_HAVE_SYS_SYSLIMITS_H > > #include <sys/syslimits.h> > > #endif > surely you mean: > > #include <limits.h> > #elsif APR_HAVE_SYS_SYSLIMITS_H > #include ... > > otherwise we still have the same problem?
Nope, because in FreeBSD's <sys/syslimits.h> there is this: #if !defined(_KERNEL) && !defined(_LIMITS_H_) && !defined(_SYS_PARAM_H_) #if __GNUC__ #warning "No user-serviceable parts inside." #endif #endif So, if you change the order of the includes, the warning goes away. -- Craig Rodrigues http://home.attbi.com/~rodrigc [EMAIL PROTECTED]
