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:
@@ -18,6 +18,8 @@
|
||||
#include "wx/platform.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
|
||||
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 <stdio.h> /* 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;
|
||||
|
Reference in New Issue
Block a user