diff --git a/src/text.c b/src/text.c index 81e8e8b7..011633c4 100644 --- a/src/text.c +++ b/src/text.c @@ -31,6 +31,10 @@ #include #include +#if defined(__APPLE__) && !defined(st_mtim) +#define st_mtim st_mtimespec +#endif + #ifndef NANO_TINY static pid_t pid_of_command = -1; /* The PID of the forked process -- needed when wanting to abort it. */