* 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
>
> solved the problem. i suppose switching the order would work on
> FreeBSD, but it seems like we're relying on an ugly little
> implementation detail, so i'd rather either do this or make configure
> not pick up sys/syslimits.h when limits.h is found.
>
Indeed. I'm happy with this in the short term, but longer term we should be
aiming for Jeff's proposal.
I'll fix this up now unless there are any objections?
Cheers,
-Thom