]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Further fix to the Profile build-bug on unsupported platforms.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 28 Apr 2010 14:53:19 +0000 (16:53 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Wed, 28 Apr 2010 14:53:19 +0000 (16:53 +0200)
lib/Profiler.c

index 015b5f48498685a4d6bd3e0a4f6144a09758c269..d85070e4e66ff4d599a2bbf4ec5d6fb04a575997 100644 (file)
 #define SQUID_NO_ALLOC_PROTECT 1
 #include "config.h"
 
+/* This include needs to be BELOW config, as it may undef USE_XPROF_STATS */
+#include "profiling.h"
+
 #if USE_XPROF_STATS
 
-#include "profiling.h"
 
 #if HAVE_ASSERT_H
 #include <assert.h>