From: Jack Jansen Date: Mon, 24 Jul 2000 19:46:27 +0000 (+0000) Subject: Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right... X-Git-Tag: v2.0b1~731 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12d86c8240c1b71d39f8cb2892931cf46af43032;p=thirdparty%2FPython%2Fcpython.git Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now. --- diff --git a/Mac/mwerks/mwerks_nonshared_config.h b/Mac/mwerks/mwerks_nonshared_config.h index cd37ce62bc18..acae953364a6 100644 --- a/Mac/mwerks/mwerks_nonshared_config.h +++ b/Mac/mwerks/mwerks_nonshared_config.h @@ -30,3 +30,8 @@ #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ #include #endif +/* Missing declarations. Should these go to pyport.h? */ +#ifdef USE_GUSI2 +#include +extern int fileno(FILE *); +#endif diff --git a/Mac/mwerks/mwerks_shared_config.h b/Mac/mwerks/mwerks_shared_config.h index becd67051dd8..67cc9d7f0ba4 100644 --- a/Mac/mwerks/mwerks_shared_config.h +++ b/Mac/mwerks/mwerks_shared_config.h @@ -35,3 +35,8 @@ #define MSL_USE_PRECOMPILED_HEADERS 0 /* Don't use precomp headers: we include our own */ #include #endif +/* Missing declarations. Should these go to pyport.h? */ +#ifdef USE_GUSI2 +#include +extern int fileno(FILE *); +#endif