From: Daniel R. Carvalho Date: Fri, 31 May 2019 16:39:21 +0000 (+0200) Subject: base: Fix missing headers to CircularQueue X-Git-Tag: v19.0.0.0~783 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c0cf48e3082ba41005b5d0f56d377e432b9283e;p=gem5.git 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 --- 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.