Merging changes from release22-branch.
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index e66ab83..f78f97f 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -392,6 +392,17 @@
 }
 
 #if TARGET_API_MAC_OS8
+Point
+LMGetMouse(void)
+{
+	return LMGetMouseLocation();
+}
+
+long LMGetExpandMem(void)
+{
+	return 0;
+}
+
 void
 c2pstrcpy(unsigned char *dst, const char *src)
 {