slackbuilds_ponce/system/mmv/compilefix.diff
B. Watson 342e2017f2 system/mmv: Added (multiple mv/rename).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2020-11-07 08:24:39 +07:00

15 lines
333 B
Diff

diff -Naur a/mmv.c b/mmv.c
--- a/mmv.c 2020-07-01 18:55:50.961457418 -0400
+++ b/mmv.c 2020-07-01 19:00:17.724426386 -0400
@@ -193,10 +193,7 @@
#ifdef IS_SYSV
/* for System V and Version 7*/
-struct utimbuf {
- time_t actime;
- time_t modtime;
-};
+#include <utime.h>
#define utimes(f, t) utime((f), &(t))
#ifndef HAS_RENAME