summaryrefslogtreecommitdiff
path: root/src/mem/cache/replacement_policies
diff options
context:
space:
mode:
Diffstat (limited to 'src/mem/cache/replacement_policies')
-rw-r--r--src/mem/cache/replacement_policies/tree_plru_rp.cc3
-rw-r--r--src/mem/cache/replacement_policies/tree_plru_rp.hh4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mem/cache/replacement_policies/tree_plru_rp.cc b/src/mem/cache/replacement_policies/tree_plru_rp.cc
index f5e07b2c3..59319a256 100644
--- a/src/mem/cache/replacement_policies/tree_plru_rp.cc
+++ b/src/mem/cache/replacement_policies/tree_plru_rp.cc
@@ -36,9 +36,10 @@
#include "mem/cache/replacement_policies/tree_plru_rp.hh"
-#include <memory>
+#include <cmath>
#include "base/intmath.hh"
+#include "base/logging.hh"
#include "params/TreePLRURP.hh"
/**
diff --git a/src/mem/cache/replacement_policies/tree_plru_rp.hh b/src/mem/cache/replacement_policies/tree_plru_rp.hh
index 1e81061a3..14a5e8ba1 100644
--- a/src/mem/cache/replacement_policies/tree_plru_rp.hh
+++ b/src/mem/cache/replacement_policies/tree_plru_rp.hh
@@ -71,6 +71,10 @@
#ifndef __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
#define __MEM_CACHE_REPLACEMENT_POLICIES_TREE_PLRU_RP_HH__
+#include <cstdint>
+#include <memory>
+#include <vector>
+
#include "mem/cache/replacement_policies/base.hh"
struct TreePLRURPParams;