From e0bd1c91175b7b9fa384453849d7c1d12e734eba Mon Sep 17 00:00:00 2001 From: Francesco Chemolli Date: Fri, 21 Sep 2012 11:49:04 +0200 Subject: [PATCH] Removed some unnecessary includes. --- src/icmp/net_db.h | 2 +- src/log/CustomLog.h | 5 ++++- src/log/Formats.h | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/icmp/net_db.h b/src/icmp/net_db.h index 54ebc05e01..be38efb177 100644 --- a/src/icmp/net_db.h +++ b/src/icmp/net_db.h @@ -1,9 +1,9 @@ #ifndef ICMP_NET_DB_H #define ICMP_NET_DB_H -#include "CachePeer.h" #include "hash.h" +class CachePeer; namespace Ip { class Address; diff --git a/src/log/CustomLog.h b/src/log/CustomLog.h index 32a53a1fa4..4c64343777 100644 --- a/src/log/CustomLog.h +++ b/src/log/CustomLog.h @@ -28,11 +28,14 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA. * */ -#include "format/Format.h" +//#include "format/Format.h" #include "log/Formats.h" class ACLList; class Logfile; +namespace Format { +class Format; +} class CustomLog { diff --git a/src/log/Formats.h b/src/log/Formats.h index 6f54e0dc58..0e2dd16eca 100644 --- a/src/log/Formats.h +++ b/src/log/Formats.h @@ -1,6 +1,7 @@ #ifndef _SQUID_LOG_FORMATS_H #define _SQUID_LOG_FORMATS_H +#include "AccessLogEntry.h" #include "RefCount.h" typedef RefCount AccessLogEntryPointer; -- 2.47.3