From: Vadim Zeitlin Date: Mon, 27 Nov 2006 21:30:45 +0000 (+0000) Subject: include stdio.h to get FILE declaration (bug 1592935) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/189cad73ebac91c0c0d2083fe5f671614ef59534 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 --- diff --git a/include/wx/wxchar.h b/include/wx/wxchar.h index 76e990c689..1068c3dd69 100644 --- a/include/wx/wxchar.h +++ b/include/wx/wxchar.h @@ -18,6 +18,8 @@ #include "wx/platform.h" #include "wx/dlimpexp.h" +#include /* we use FILE below */ + #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 **); #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 semantics we need */ - - #include /* for FILE */ - int wxScanf( const wxChar *format, ... ) ATTRIBUTE_PRINTF_1; int wxSscanf( const wxChar *str, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2; int wxFscanf( FILE *stream, const wxChar *format, ... ) ATTRIBUTE_PRINTF_2;