summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mac/mwerks/mwerks_nonshared_config.h5
-rw-r--r--Mac/mwerks/mwerks_shared_config.h5
2 files changed, 10 insertions, 0 deletions
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 <ansi_prefix.mac.h>
#endif
+/* Missing declarations. Should these go to pyport.h? */
+#ifdef USE_GUSI2
+#include <stdio.h>
+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 <ansi_prefix.mac.h>
#endif
+/* Missing declarations. Should these go to pyport.h? */
+#ifdef USE_GUSI2
+#include <stdio.h>
+extern int fileno(FILE *);
+#endif