summaryrefslogtreecommitdiff
path: root/kern/linux/aligned.hh
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-10-23 12:31:24 -0400
committerNathan Binkert <binkertn@umich.edu>2004-10-23 12:31:24 -0400
commit656031b0735e27933d48f30b1c756eb45bc8b516 (patch)
tree3044aadf98ad7898a213fff77367b3b5c7a2ff7a /kern/linux/aligned.hh
parent224acc2abccec14ab3846f1b3308e642ed094456 (diff)
downloadgem5-656031b0735e27933d48f30b1c756eb45bc8b516.tar.xz
make stuff compile on openbsd again
clean up a few other things while we're here. base/bitfield.hh: base/compression/null_compression.hh: dont #include <inttypes.hh> use "sim/host.hh" fix #include guard base/stats/types.hh: dont #include <inttypes.hh> use "sim/host.hh" kern/linux/aligned.hh: dont #include <stdint.hh> use "sim/host.hh" fix #include guard kern/linux/hwrpb.hh: fix #include guard --HG-- extra : convert_revision : 288c687a59a1e770bbb834879173e1a2ea371bce
Diffstat (limited to 'kern/linux/aligned.hh')
-rw-r--r--kern/linux/aligned.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/kern/linux/aligned.hh b/kern/linux/aligned.hh
index 55035c6e4..042f0ad2c 100644
--- a/kern/linux/aligned.hh
+++ b/kern/linux/aligned.hh
@@ -1,7 +1,7 @@
-#ifndef __ALIGNED_HH__
-#define __ALIGNED_HH__
+#ifndef __KERN_LINUX_ALIGNED_HH__
+#define __KERN_LINUX_ALIGNED_HH__
-#include <stdint.h>
+#include "sim/host.hh"
#include "targetarch/isa_traits.hh"
/* GCC 3.3.X has a bug in which attributes+typedefs don't work. 3.2.X is fine
@@ -18,4 +18,4 @@ typedef Addr Addr_a __attribute__ ((aligned (8))) ;
#define Addr_a Addr __attribute__ ((aligned (8)))
#endif /* __GNUC__ __GNUC_MINOR__ */
-#endif /* __ALIGNED_H__ */
+#endif /* __KERN_LINUX_ALIGNED_HH__ */