]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/repl/lru/store_repl_lru.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / repl / lru / store_repl_lru.cc
index dbc2e319f0fdf063325794c73f8b49299b626099..e51e047b9e53e5064efd9951e2db9168df0a8758 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2014 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
 #include "SquidTime.h"
 #include "Store.h"
 
+/* because LruNode use explicit memory alloc()/freeOne() calls.
+ * XXX: convert to MEMPROXY_CLASS() API
+ */
+#include "mem/Pool.h"
+
 REMOVALPOLICYCREATE createRemovalPolicy_lru;
 
 struct LruPolicyData {
@@ -343,3 +348,4 @@ createRemovalPolicy_lru(wordlist * args)
 
     return policy;
 }
+