diff options
author | Paolo Carlini <pcarlini@suse.de> | 2007-03-11 12:03:34 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2007-03-11 12:03:34 +0000 |
commit | bd91a8c4edadd47b17270c27e222cdca9472b534 (patch) | |
tree | e72d53b8a71211ec92e4aba0be8ff3a70f5d53db /libstdc++-v3/include/ext/stdio_sync_filebuf.h | |
parent | e838422b9eee3123812624de39ed76259e212492 (diff) | |
download | gcc-bd91a8c4edadd47b17270c27e222cdca9472b534.zip gcc-bd91a8c4edadd47b17270c27e222cdca9472b534.tar.gz gcc-bd91a8c4edadd47b17270c27e222cdca9472b534.tar.bz2 |
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/ext/stdio_sync_filebuf.h')
-rw-r--r-- | libstdc++-v3/include/ext/stdio_sync_filebuf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/stdio_sync_filebuf.h b/libstdc++-v3/include/ext/stdio_sync_filebuf.h index f0ec12c..a1d2b38 100644 --- a/libstdc++-v3/include/ext/stdio_sync_filebuf.h +++ b/libstdc++-v3/include/ext/stdio_sync_filebuf.h @@ -1,6 +1,6 @@ // Iostreams wrapper for stdio FILE* -*- C++ -*- -// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -39,6 +39,7 @@ #include <streambuf> #include <unistd.h> #include <cstdio> +#include <bits/c++io.h> // For __c_file #ifdef _GLIBCXX_USE_WCHAR_T #include <cwchar> |