From 0c0cf48e3082ba41005b5d0f56d377e432b9283e Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Fri, 31 May 2019 18:39:21 +0200 Subject: [PATCH] base: Fix missing headers to CircularQueue CircularQueue is currently throwing compilation errors when creating a derived class. assert() needs ptrdiff_t needs (u)intX_t need random_access_iterator_tag needs is_same, enable_if and others need Change-Id: I77a78e7b13f7a8b8e7e8b2b872065d78d1ab815a Signed-off-by: Daniel R. Carvalho Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19089 Reviewed-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro --- src/base/circular_queue.hh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/base/circular_queue.hh b/src/base/circular_queue.hh index da3da8b28..22783aaa9 100644 --- a/src/base/circular_queue.hh +++ b/src/base/circular_queue.hh @@ -40,6 +40,11 @@ #ifndef __BASE_CIRCULAR_QUEUE_HH__ #define __BASE_CIRCULAR_QUEUE_HH__ +#include +#include +#include +#include +#include #include /** Circular queue. -- 2.30.2