From fea76fa1b19af1997b80f21e1c71089642b024ee Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Tue, 28 May 2013 17:28:39 -0600 Subject: [PATCH] Make GCC on CentOS 5.3 happier by explicitly #including (used by aclParseAclList() template) in acl/Gadgets.h. --- src/acl/Gadgets.h | 4 ++++ src/cache_cf.cc | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/acl/Gadgets.h b/src/acl/Gadgets.h index 19a131ced2..a5a36f0000 100644 --- a/src/acl/Gadgets.h +++ b/src/acl/Gadgets.h @@ -4,6 +4,10 @@ #include "err_type.h" #include "acl/forward.h" +#if HAVE_SSTREAM +#include +#endif + class ConfigParser; class dlink_list; class StoreEntry; diff --git a/src/cache_cf.cc b/src/cache_cf.cc index 2ae75abcb5..fabebf1bb6 100644 --- a/src/cache_cf.cc +++ b/src/cache_cf.cc @@ -123,9 +123,6 @@ #if HAVE_GRP_H #include #endif -#if HAVE_SSTREAM -#include -#endif #if HAVE_SYS_STAT_H #include #endif -- 2.47.2