]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Guido Serassio <serassio@squid-cache.org>
authorAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 18 Apr 2008 05:20:48 +0000 (23:20 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Fri, 18 Apr 2008 05:20:48 +0000 (23:20 -0600)
Fix build error on Irix.

On Irix the inclusion of sstream defines assert(), so the build fails for
a redefinition error.
Just include Debug.h as last to fix the problem.

AYJ: amendment patch included:
 Troublesome header include was a duplicate of a better sequence in Debug.h
 remove the .cc duplicates.

src/debug.cc [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 5d7fbbc..dc60cfc
@@ -35,7 +35,6 @@
 #include "squid.h"
 #include "Debug.h"
 #include "SquidTime.h"
-#include <sstream>
 
 int Debug::Levels[MAX_DEBUG_SECTIONS];
 int Debug::level;