Change include path for unixemu headers; rename access to access_
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index cc6cf42..f684dd2 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -36,9 +36,9 @@
#include <fcntl.h>
-#include "::unixemu:macdefs.h"
-#include "::unixemu:dir.h"
-#include "::unixemu:stat.h"
+#include ":::unixemu:macdefs.h"
+#include ":::unixemu:dir.h"
+#include ":::unixemu:stat.h"
#ifndef MAXPATHLEN
#define MAXPATHLEN 1024
@@ -426,7 +426,7 @@
}
static struct methodlist mac_methods[] = {
- {"access", mac_access},
+ {"access_", mac_access}, /* "access" is a Python reserved word */
{"chdir", mac_chdir},
{"close", mac_close},
#ifdef MPW