Added more prototypes.
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 20dd4cb..903f292 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -50,6 +50,9 @@
 #endif
 #endif
 #include <unistd.h>
+#ifdef USE_MAC_SHARED_LIBRARY
+extern PyMac_AddLibResources(void);
+#endif
 
 #define STARTUP "PythonStartup"