From 12d86c8240c1b71d39f8cb2892931cf46af43032 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 24 Jul 2000 19:46:27 +0000 Subject: Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now. --- Mac/mwerks/mwerks_nonshared_config.h | 5 +++++ Mac/mwerks/mwerks_shared_config.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Mac/mwerks/mwerks_nonshared_config.h b/Mac/mwerks/mwerks_nonshared_config.h index cd37ce6..acae953 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 becd670..67cc9d7 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 -- cgit v0.12