Search squid archive

OpenBSD 4.6: Squid 3.1.3 compilation error (patch attached)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I'm getting some error when compiling Squid 3.1.3 on OpenBSD 4.6 due to
a redefinition of FD_SETSIZE in compat/fdsetsize.h.
Patch attached which fixed this for me.

Greetings,
Matthias
Fix redefinition error for FD_SETSIZE on OpenBSD 4.6.

--- compat/fdsetsize.h.orig	Mon May  3 12:56:05 2010
+++ compat/fdsetsize.h	Mon May  3 12:59:49 2010
@@ -71,6 +71,7 @@

 /* Increase FD_SETSIZE if SQUID_MAXFD is bigger */
 #if CHANGE_FD_SETSIZE && SQUID_MAXFD > DEFAULT_FD_SETSIZE
+#undef FD_SETSIZE
 #define FD_SETSIZE SQUID_MAXFD
 #endif


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux