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
This commit is contained in:
Paolo Carlini 2003-10-04 12:51:34 +02:00 committed by Paolo Carlini
parent ece7fc1c59
commit 2811b82372
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
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

View File

@ -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