Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now.

This commit is contained in:
Jack Jansen 2000-07-24 19:46:27 +00:00
parent bc66f950e8
commit 12d86c8240
2 changed files with 10 additions and 0 deletions

View file

@ -30,3 +30,8 @@
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
/* Missing declarations. Should these go to pyport.h? */
#ifdef USE_GUSI2
#include <stdio.h>
extern int fileno(FILE *);
#endif

View file

@ -35,3 +35,8 @@
#define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */
#include <ansi_prefix.mac.h>
#endif
/* Missing declarations. Should these go to pyport.h? */
#ifdef USE_GUSI2
#include <stdio.h>
extern int fileno(FILE *);
#endif