diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-15 20:06:42 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-05-15 20:06:42 -0400 |
commit | 2d9b7846c6cebf1648bf73aa0b0feaed77e90dde (patch) | |
tree | 426cf5bc44e52255390418112ef2816d8a7c9381 /base/cprintf_formats.hh | |
parent | 7d3eb0fe801add2bdbb05b482e7d7d303b6f386d (diff) | |
download | gem5-2d9b7846c6cebf1648bf73aa0b0feaed77e90dde.tar.xz |
Many files:
Fix sstream includes
arch/alpha/tlb.cc:
base/cprintf.hh:
base/cprintf_formats.hh:
base/crc.cc:
base/statistics.cc:
base/statistics.hh:
base/stats/text.cc:
cpu/memtest/memtest.cc:
cpu/simple/cpu.cc:
dev/pcidev.cc:
sim/eventq.cc:
Fix sstream includes
--HG--
extra : convert_revision : fd69937ea26b4961e92f1736fa44daa16f54698d
Diffstat (limited to 'base/cprintf_formats.hh')
-rw-r--r-- | base/cprintf_formats.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/base/cprintf_formats.hh b/base/cprintf_formats.hh index 11b0238ed..05a8723a4 100644 --- a/base/cprintf_formats.hh +++ b/base/cprintf_formats.hh @@ -29,6 +29,11 @@ #ifndef __CPRINTF_FORMATS_HH__ #define __CPRINTF_FORMATS_HH__ +#include <sstream> +#include <ostream> + +namespace cp { + struct Format { bool alternate_form; @@ -343,4 +348,6 @@ inline void format_string(std::ostream &out, const std::stringstream &data, Format &fmt) { _format_string(out, data.str(), fmt); } +} // namespace cp + #endif // __CPRINTF_FORMATS_HH__ |