include stdio.h to get FILE declaration (bug 1592935)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-27 21:30:45 +00:00
parent 0b24122688
commit 189cad73eb

View File

@@ -18,6 +18,8 @@
#include "wx/platform.h" #include "wx/platform.h"
#include "wx/dlimpexp.h" #include "wx/dlimpexp.h"
#include <stdio.h> /* we use FILE below */
#if defined(HAVE_STRTOK_R) && defined(__DARWIN__) && defined(_MSL_USING_MW_C_HEADERS) && _MSL_USING_MW_C_HEADERS #if defined(HAVE_STRTOK_R) && defined(__DARWIN__) && defined(_MSL_USING_MW_C_HEADERS) && _MSL_USING_MW_C_HEADERS
char *strtok_r(char *, const char *, char **); char *strtok_r(char *, const char *, char **);
#endif #endif
@@ -1017,9 +1019,6 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */
either because we don't have them at all or because they don't have the either because we don't have them at all or because they don't have the
semantics we need semantics we need
*/ */
#include <stdio.h> /* for FILE */
int wxScanf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_1; int wxScanf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_1;
int wxSscanf( const wxChar *str, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; int wxSscanf( const wxChar *str, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2;
int wxFscanf( FILE *stream, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; int wxFscanf( FILE *stream, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2;