From: Amos Jeffries Date: Wed, 26 May 2010 04:52:58 +0000 (+1200) Subject: Author: Henrik Nordstrom X-Git-Tag: SQUID_3_0_STABLE26~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16f4f1b623decf2f984149bb0572aa715742ca0c;p=thirdparty%2Fsquid.git Author: Henrik Nordstrom Bug 2876: FD_SETSIZE override not working on all linux distributions The glibc hack for overriding FD_SETSIZE seems to have broken down on some families of Linux distribution, requiring one more header to be included before redefine. Hopefully this does not break the FD_SETSIZE override on more systems than it fixes.. if it does then some additional autoconffuu will be needed. --- diff --git a/include/config.h b/include/config.h index 6dbf144713..19d8c00efb 100644 --- a/include/config.h +++ b/include/config.h @@ -164,6 +164,7 @@ #if (__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) #if SQUID_MAXFD > DEFAULT_FD_SETSIZE #include +#include #undef __FD_SETSIZE #define __FD_SETSIZE SQUID_MAXFD #endif