From: Guido Serassio Date: Sun, 7 Jun 2009 09:09:33 +0000 (+0200) Subject: Windows port: Bit types protection must applied always X-Git-Tag: SQUID_3_2_0_1~962 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7b78aa3fc4849648e2d1db983a0cdee8297a01e;p=thirdparty%2Fsquid.git Windows port: Bit types protection must applied always --- diff --git a/helpers/external_acl/session/squid_session.c b/helpers/external_acl/session/squid_session.c index 319225f593..891ce341db 100644 --- a/helpers/external_acl/session/squid_session.c +++ b/helpers/external_acl/session/squid_session.c @@ -36,9 +36,6 @@ #include #endif -#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. @@ -46,6 +43,9 @@ #ifndef __BIT_TYPES_DEFINED__ #define __BIT_TYPES_DEFINED__ #endif +#if defined(HAVE_DB_185_H) +#include +#elif defined(HAVE_DB_H) #include #else #include