summaryrefslogtreecommitdiff
path: root/src/base/stats
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:37 -0600
commit7a8dda49a4ec33be17bbd101ebd68e02562b9c3d (patch)
tree98b3bb80b66ebe424af78671c604bf0483f3db2d /src/base/stats
parent63bb17e4bd1d37aa22a87a9614957ce1302f95a9 (diff)
downloadgem5-7a8dda49a4ec33be17bbd101ebd68e02562b9c3d.tar.xz
style: [patch 1/22] use /r/3648/ to reorganize includes
Diffstat (limited to 'src/base/stats')
-rw-r--r--src/base/stats/text.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc
index ae09b9b8d..9403ed3ff 100644
--- a/src/base/stats/text.cc
+++ b/src/base/stats/text.cc
@@ -33,23 +33,27 @@
#endif
#if defined(__sun)
-#include <math.h>
+#include <cmath>
+
#endif
#include <cassert>
+
#ifdef __SUNPRO_CC
-#include <math.h>
+#include <cmath>
+
#endif
+#include "base/stats/text.hh"
+
#include <cmath>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
-#include "base/stats/info.hh"
-#include "base/stats/text.hh"
#include "base/cast.hh"
#include "base/misc.hh"
+#include "base/stats/info.hh"
#include "base/str.hh"
using namespace std;