summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macgetmtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python/macgetmtime.c')
-rw-r--r--Mac/Python/macgetmtime.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Python/macgetmtime.c b/Mac/Python/macgetmtime.c
index 9ba8136..d4d15be 100644
--- a/Mac/Python/macgetmtime.c
+++ b/Mac/Python/macgetmtime.c
@@ -1,4 +1,4 @@
-#include <stat.h>
+#include "macstat.h"
/* Interfaced used by import.c */
@@ -6,8 +6,8 @@ long
getmtime(path)
char *path;
{
- struct stat st;
- if (stat(path, &st) != 0)
+ struct macstat st;
+ if (macstat(path, &st) != 0)
return -1L;
return st.st_mtime;
}