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