* Garrett Rooney ([EMAIL PROTECTED]) wrote : > Thom May wrote: > > > > > > >surely you mean: > > > >#include <limits.h> > >#elsif APR_HAVE_SYS_SYSLIMITS_H > >#include ... > > > >otherwise we still have the same problem? > >-Thom > > > > > > changing it to > > #if APR_HAVE_LIMITS_H > #include <limits.h> > #else > #if APR_HAVE_SYS_SYSLIMITS_H > #include <sys/syslimits.h> > #endif > #endif > Right, so basically the attached patch? If no-one has any objections, I'd like to commit this in the morning, then we can start looking at the configure system in the long term. Cheers, -Thom
Index: include/apr.h.in =================================================================== RCS file: /home/cvs/apr/include/apr.h.in,v retrieving revision 1.117 diff -u -u -r1.117 apr.h.in --- include/apr.h.in 22 Oct 2002 12:37:40 -0000 1.117 +++ include/apr.h.in 21 Jan 2003 21:48:16 -0000 @@ -304,11 +304,12 @@ #endif /* header files for PATH_MAX, _POSIX_PATH_MAX */ +#if APR_HAVE_LIMITS_H +#include <limits.h> +#else #if APR_HAVE_SYS_SYSLIMITS_H #include <sys/syslimits.h> #endif -#if APR_HAVE_LIMITS_H -#include <limits.h> #endif #if defined(PATH_MAX)
