summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-05-17 14:34:51 -0700
committerNathan Binkert <nate@binkert.org>2009-05-17 14:34:51 -0700
commit709d859530325f28b904001f5a55dbdec2bad199 (patch)
tree986591a80f7c54fcf19d764248128624b546bad7 /src/base
parenteef3a2e142443d94b75de333ff3ccb69644a9831 (diff)
downloadgem5-709d859530325f28b904001f5a55dbdec2bad199.tar.xz
includes: use base/types.hh not inttypes.h or stdint.h
Diffstat (limited to 'src/base')
-rw-r--r--src/base/bitfield.hh2
-rw-r--r--src/base/bitunion.hh2
-rw-r--r--src/base/compression/base.hh2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/base/bitfield.hh b/src/base/bitfield.hh
index 664093fa2..28093a5d4 100644
--- a/src/base/bitfield.hh
+++ b/src/base/bitfield.hh
@@ -32,7 +32,7 @@
#ifndef __BASE_BITFIELD_HH__
#define __BASE_BITFIELD_HH__
-#include <inttypes.h>
+#include "base/types.hh"
/**
* Generate a 64-bit mask of 'nbits' 1s, right justified.
diff --git a/src/base/bitunion.hh b/src/base/bitunion.hh
index 8ba28f3ba..c61d1cc7c 100644
--- a/src/base/bitunion.hh
+++ b/src/base/bitunion.hh
@@ -31,8 +31,8 @@
#ifndef __BASE_BITUNION_HH__
#define __BASE_BITUNION_HH__
-#include <inttypes.h>
#include "base/bitfield.hh"
+#include "base/types.hh"
// The following implements the BitUnion system of defining bitfields
//on top of an underlying class. This is done through the pervasive use of
diff --git a/src/base/compression/base.hh b/src/base/compression/base.hh
index 8d1f8d6b5..d80660ac3 100644
--- a/src/base/compression/base.hh
+++ b/src/base/compression/base.hh
@@ -37,7 +37,7 @@
* This file defines a base (abstract virtual) compression algorithm object.
*/
-#include <inttypes.h>
+#include "base/types.hh"
/**
* Abstract virtual compression algorithm object.