summaryrefslogtreecommitdiff
path: root/data/mc/structtime.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 11:54:29 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 11:54:29 -1000
commit1a6600842fe22b5873ea8e5e0146ebb0d6671501 (patch)
tree3b27b8e14b88c56741d6639339474ee7a3763c36 /data/mc/structtime.diff
parent7d326d7bf9a930baa11b44916955ad39433415a7 (diff)
Update mc to 4.8.21
Diffstat (limited to 'data/mc/structtime.diff')
-rw-r--r--data/mc/structtime.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/mc/structtime.diff b/data/mc/structtime.diff
new file mode 100644
index 000000000..1f518bdb0
--- /dev/null
+++ b/data/mc/structtime.diff
@@ -0,0 +1,16 @@
+diff -ur mc-4.8.21/lib/global.h mc-4.8.21+iPhone/lib/global.h
+--- mc-4.8.21/lib/global.h 2018-05-27 09:56:21.000000000 -1000
++++ mc-4.8.21+iPhone/lib/global.h 2018-08-14 10:59:08.000000000 -1000
+@@ -24,6 +24,12 @@
+ /* for O_* macros */
+ #include <fcntl.h>
+
++#ifdef __APPLE__
++#define st_atim st_atimespec
++#define st_ctim st_ctimespec
++#define st_mtim st_mtimespec
++#endif
++
+ /* for sig_atomic_t */
+ #include <signal.h>
+