From: Amos Jeffries Date: Sun, 7 Jun 2009 12:05:20 +0000 (+1200) Subject: Author: Guido Serassio X-Git-Tag: SQUID_3_0_STABLE16~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38b935b5ceefdd3cc1ed3c3d44d9e399f5cc8066;p=thirdparty%2Fsquid.git Author: Guido Serassio Windows port: second chunk of fixes needed to build again Squid3 using MinGW --- diff --git a/helpers/external_acl/session/squid_session.c b/helpers/external_acl/session/squid_session.c index bb9de88c45..96c1a32ada 100644 --- a/helpers/external_acl/session/squid_session.c +++ b/helpers/external_acl/session/squid_session.c @@ -39,6 +39,13 @@ #if defined(HAVE_DB_185_H) #include #elif defined(HAVE_DB_H) +/* At this point all Bit Types are already defined, so we must + protect from multiple type definition on platform where + __BIT_TYPES_DEFINED__ is not defined. + */ +#ifndef __BIT_TYPES_DEFINED__ +#define __BIT_TYPES_DEFINED__ +#endif #include #else #include