summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/bits/ios_base.h
diff options
context:
space:
mode:
authorPaolo Carlini <pcarlini@suse.de>2007-03-11 12:03:34 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2007-03-11 12:03:34 +0000
commitbd91a8c4edadd47b17270c27e222cdca9472b534 (patch)
treee72d53b8a71211ec92e4aba0be8ff3a70f5d53db /libstdc++-v3/include/bits/ios_base.h
parente838422b9eee3123812624de39ed76259e212492 (diff)
downloadgcc-bd91a8c4edadd47b17270c27e222cdca9472b534.tar.gz
PR libstdc++/28080 (final)
2007-03-11 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (final) * include/std/iosfwd: Do not include <bits/c++io.h>. * config/io/basic_file_stdio.h: Do it here. * include/ext/stdio_sync_filebuf.h: Likewise. * include/ext/rope: Include <bits/gthr.h> unconditionally. * include/std/fstream: Do not include <bits/gthr.h>. * include/std/ios: Do not include <cstdio>. * include/bits/ios_base.h: Do it here. * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust dg-error line numbers. * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. From-SVN: r122818
Diffstat (limited to 'libstdc++-v3/include/bits/ios_base.h')
-rw-r--r--libstdc++-v3/include/bits/ios_base.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/ios_base.h b/libstdc++-v3/include/bits/ios_base.h
index 33dc256a4cf..e0bbfc37425 100644
--- a/libstdc++-v3/include/bits/ios_base.h
+++ b/libstdc++-v3/include/bits/ios_base.h
@@ -1,6 +1,7 @@
// Iostreams base classes -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
+// 2006, 2007
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -45,6 +46,7 @@
#include <ext/atomicity.h>
#include <bits/localefwd.h>
#include <bits/locale_classes.h>
+#include <cstdio> // For SEEK_CUR, SEEK_END
_GLIBCXX_BEGIN_NAMESPACE(std)