diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-04 10:51:34 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-04 10:51:34 +0000 |
commit | dcf53c49ffe8d5d6eee7bb7fb8b2878995c24442 (patch) | |
tree | 565ba6814e086c9007d111e67f4e24cae0806915 /libstdc++-v3 | |
parent | 9214c2cbe0675b5f37290df7a51c05f6863cdaa0 (diff) |
2003-10-04 Paolo Carlini <pcarlini@unitus.it>
Petur Runolfsson <peturr02@ru.is>
* include/ext/stdio_sync_filebuf.h: Don't include the whole
<fstream>, only <streambuf> and <cstdio>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72090 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/include/ext/stdio_sync_filebuf.h | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2dd488bb987..7a951fe9afd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,4 +1,10 @@ 2003-10-04 Paolo Carlini <pcarlini@unitus.it> + Petur Runolfsson <peturr02@ru.is> + + * include/ext/stdio_sync_filebuf.h: Don't include the whole + <fstream>, only <streambuf> and <cstdio>. + +2003-10-04 Paolo Carlini <pcarlini@unitus.it> PR libstdc++/12206 * include/bits/fstream.tcc (imbue): In case a codecvt facet diff --git a/libstdc++-v3/include/ext/stdio_sync_filebuf.h b/libstdc++-v3/include/ext/stdio_sync_filebuf.h index 7697d86816e..4727c6b2866 100644 --- a/libstdc++-v3/include/ext/stdio_sync_filebuf.h +++ b/libstdc++-v3/include/ext/stdio_sync_filebuf.h @@ -36,7 +36,7 @@ #pragma GCC system_header -#include <fstream> +#include <streambuf> #include <unistd.h> #if defined(_GLIBCXX_HAVE_S_ISREG) || defined(_GLIBCXX_HAVE_S_IFREG) @@ -48,6 +48,8 @@ # endif #endif +#include <cstdio> + #ifdef _GLIBCXX_USE_WCHAR_T #include <cwchar> #endif |