changes for MPW
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 6c377dc..d1c7306 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -1072,7 +1072,7 @@
 	(intintobjargproc)array_ass_slice,	/*sq_ass_slice*/
 };
 
-static typeobject Arraytype = {
+statichere typeobject Arraytype = {
 	OB_HEAD_INIT(&Typetype)
 	0,
 	"array",
diff --git a/Modules/audioop.c b/Modules/audioop.c
index f866e98..899bbc6 100644
--- a/Modules/audioop.c
+++ b/Modules/audioop.c
@@ -35,7 +35,7 @@
 #endif
 #endif
 
-#include <math.h>
+#include "mymath.h"
 
 /* Code shamelessly stolen from sox,
 ** (c) Craig Reese, Joe Campbell and Jeff Poskanzer 1989 */
diff --git a/Modules/md5module.c b/Modules/md5module.c
index bb98cc2..f3b86ed 100644
--- a/Modules/md5module.c
+++ b/Modules/md5module.c
@@ -141,7 +141,7 @@
 	return findmethod(md5_methods, (object *)self, name);
 }
 
-static typeobject MD5type = {
+statichere typeobject MD5type = {
 	OB_HEAD_INIT(&Typetype)
 	0,			/*ob_size*/
 	"md5",			/*tp_name*/
diff --git a/Modules/rotormodule.c b/Modules/rotormodule.c
index 60d9257..6988f88 100644
--- a/Modules/rotormodule.c
+++ b/Modules/rotormodule.c
@@ -57,7 +57,7 @@
 
 #include "Python.h"
 
-#include <math.h>
+#include "mymath.h"
 
 #define TRUE	1
 #define FALSE	0
@@ -755,7 +755,7 @@
 	return Py_FindMethod(PyRotor_Methods, (PyObject * ) s, name);
 }
 
-static PyTypeObject PyRotor_Type = {
+statichere PyTypeObject PyRotor_Type = {
 	PyObject_HEAD_INIT(&PyType_Type)
 	0,				/*ob_size*/
 	"rotor",			/*tp_name*/
diff --git a/Modules/stdwinmodule.c b/Modules/stdwinmodule.c
index b256695..675b959 100644
--- a/Modules/stdwinmodule.c
+++ b/Modules/stdwinmodule.c
@@ -1141,7 +1141,7 @@
 		return dictinsert(tp->t_attr, name, v);
 }
 
-static typeobject Texttype = {
+statichere typeobject Texttype = {
 	OB_HEAD_INIT(&Typetype)
 	0,			/*ob_size*/
 	"textedit",		/*tp_name*/
@@ -1348,7 +1348,7 @@
 		return dictinsert(mp->m_attr, name, v);
 }
 
-static typeobject Menutype = {
+statichere typeobject Menutype = {
 	OB_HEAD_INIT(&Typetype)
 	0,			/*ob_size*/
 	"menu",			/*tp_name*/
@@ -1505,7 +1505,7 @@
 		return dictinsert(bp->b_attr, name, v);
 }
 
-static typeobject Bitmaptype = {
+statichere typeobject Bitmaptype = {
 	OB_HEAD_INIT(&Typetype)
 	0,			/*ob_size*/
 	"bitmap",			/*tp_name*/
@@ -1929,7 +1929,7 @@
 		return dictinsert(wp->w_attr, name, v);
 }
 
-static typeobject Windowtype = {
+statichere typeobject Windowtype = {
 	OB_HEAD_INIT(&Typetype)
 	0,			/*ob_size*/
 	"window",		/*tp_name*/
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 0702f27..90a10eb 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -336,8 +336,12 @@
    set an exception; else return 0. */
 
 static int
+#ifdef MPW
+floatsleep(double secs)
+#else
 floatsleep(secs)
 	double secs;
+#endif /* MPW */
 {
 #ifdef HAVE_SELECT
 	struct timeval t;