From 311603d9237aaa09c9bbcdd86a5a2ad981a530ad Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 11 May 2021 18:13:47 -0700 Subject: [PATCH] base: Stop both conditionally and unconditionally including cmath. base/stats/text.cc was both conditionally (in two places) and unconditionally including cmath. Once should be enough. Change-Id: I941dfb8631eb71d1a8b423011022f78d628baa33 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/45365 Reviewed-by: Daniel Carvalho Maintainer: Gabe Black Tested-by: kokoro --- src/base/stats/text.cc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc index 26f16222e7..718b65c05e 100644 --- a/src/base/stats/text.cc +++ b/src/base/stats/text.cc @@ -42,19 +42,9 @@ #define _GLIBCPP_USE_C99 1 #endif -#if defined(__sun) -#include - -#endif - -#include - -#ifdef __SUNPRO_CC -#include - -#endif #include "base/stats/text.hh" +#include #include #include #include