]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Windows port: Bit types protection must applied always
authorGuido Serassio <serassio@squid-cache.org>
Sun, 7 Jun 2009 09:09:33 +0000 (11:09 +0200)
committerGuido Serassio <serassio@squid-cache.org>
Sun, 7 Jun 2009 09:09:33 +0000 (11:09 +0200)
helpers/external_acl/session/squid_session.c

index 319225f59389bf2b79ce5cc171afaff76b662932..891ce341db8e09186ea4c3ef5fc4d522b3e2ab4c 100644 (file)
@@ -36,9 +36,6 @@
 #include <getopt.h>
 #endif
 
-#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.
@@ -46,6 +43,9 @@
 #ifndef        __BIT_TYPES_DEFINED__
 #define        __BIT_TYPES_DEFINED__
 #endif
+#if defined(HAVE_DB_185_H)
+#include <db_185.h>
+#elif defined(HAVE_DB_H)
 #include <db.h>
 #else
 #include <db_185.h>