From e986e574230f6eb9fe9e353ed9306358334fc84e Mon Sep 17 00:00:00 2001 From: Henrik Nordstrom Date: Fri, 14 May 2010 14:05:27 +0200 Subject: [PATCH] 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. --- compat/fdsetsize.h | 1 + 1 file changed, 1 insertion(+) diff --git a/compat/fdsetsize.h b/compat/fdsetsize.h index 9701197001..a93c4e344f 100644 --- a/compat/fdsetsize.h +++ b/compat/fdsetsize.h @@ -40,6 +40,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.3