include macdefs.h for declaration of getwd, if non-gusi python.
diff --git a/Mac/Python/macgetpath.c b/Mac/Python/macgetpath.c
index c180d1f..83117ed 100644
--- a/Mac/Python/macgetpath.c
+++ b/Mac/Python/macgetpath.c
@@ -32,6 +32,7 @@
 #include "Python.h"
 #include "osdefs.h"
 #include "macglue.h"
+#include "macdefs.h"
 #include "pythonresources.h"
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>