Squashed compiler warnings by adding casts, making sure prototypes are in
scope and looking at types.
diff --git a/Modules/main.c b/Modules/main.c
index 2005f0b..ca382c6 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -13,6 +13,10 @@
 #include <fcntl.h>
 #endif
 
+#if defined(WITH_NEXT_FRAMEWORK)
+#include "pymactoolbox.h"
+#endif
+
 #if (defined(PYOS_OS2) && !defined(PYCC_GCC)) || defined(MS_WINDOWS)
 #define PYTHONHOMEHELP "<prefix>\\lib"
 #else