From 16f4f1b623decf2f984149bb0572aa715742ca0c Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 26 May 2010 16:52:58 +1200 Subject: [PATCH] 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. --- include/config.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.2