diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2003-10-04 12:51:34 +0200 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2003-10-04 10:51:34 +0000 |
commit | 2811b8237272e5a373ff5a20afaa5e61c4f967ce (patch) | |
tree | 565ba6814e086c9007d111e67f4e24cae0806915 /libstdc++-v3/include/ext/stdio_sync_filebuf.h | |
parent | ece7fc1c597318c531778033f1e1a30cf4012783 (diff) | |
download | gcc-2811b8237272e5a373ff5a20afaa5e61c4f967ce.zip gcc-2811b8237272e5a373ff5a20afaa5e61c4f967ce.tar.gz gcc-2811b8237272e5a373ff5a20afaa5e61c4f967ce.tar.bz2 |
stdio_sync_filebuf.h: Don't include the whole <fstream>, only <streambuf> and <cstdio>.
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>.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r72090
Diffstat (limited to 'libstdc++-v3/include/ext/stdio_sync_filebuf.h')
-rw-r--r-- | libstdc++-v3/include/ext/stdio_sync_filebuf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/stdio_sync_filebuf.h b/libstdc++-v3/include/ext/stdio_sync_filebuf.h index 7697d86..4727c6b 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 |