summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/std/fstream
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-11 12:03:34 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-03-11 12:03:34 +0000
commit9900ad952b40d2f42beafe3724d51dd18eb45ff9 (patch)
treee72d53b8a71211ec92e4aba0be8ff3a70f5d53db /libstdc++-v3/include/std/fstream
parent7244316934ac6732ba27a33a8d9bc419523936fe (diff)
downloadgcc-9900ad952b40d2f42beafe3724d51dd18eb45ff9.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122818 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/fstream')
-rw-r--r--libstdc++-v3/include/std/fstream8
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/include/std/fstream b/libstdc++-v3/include/std/fstream
index adcf3eb7c6e..0687905e262 100644
--- a/libstdc++-v3/include/std/fstream
+++ b/libstdc++-v3/include/std/fstream
@@ -1,6 +1,7 @@
// File based streams -*- C++ -*-
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
+// 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
@@ -44,9 +45,8 @@
#include <istream>
#include <ostream>
#include <locale> // For codecvt
-#include <cstdio> // For SEEK_SET, SEEK_CUR, SEEK_END, BUFSIZ
-#include <bits/basic_file.h>
-#include <bits/gthr.h>
+#include <cstdio> // For BUFSIZ
+#include <bits/basic_file.h> // For __basic_file, __c_lock
_GLIBCXX_BEGIN_NAMESPACE(std)