]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Guido Serassio <serassio@squid-cache.org>
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 7 Jun 2009 12:05:20 +0000 (00:05 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 7 Jun 2009 12:05:20 +0000 (00:05 +1200)
Windows port: second chunk of fixes needed to build again Squid3 using MinGW

helpers/external_acl/session/squid_session.c

index bb9de88c45ebd832df6516a1417e5d2e7ee4c3af..96c1a32ada0f81de6f89173783708424f6ff6adf 100644 (file)
 #if defined(HAVE_DB_185_H)
 #include <db_185.h>
 #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 <db.h>
 #else
 #include <db_185.h>