overlay/sys-kernel/recoveryinitramfs/files/jfsutils/1.1.15/005_all_jfsutils-1.1.15-musl.patch

17 lines
415 B
Diff
Raw Normal View History

2013-10-29 18:26:14 +01:00
diff -uNr jfsutils-1.1.15.orig/libfs/fssubs.c jfsutils-1.1.15/libfs/fssubs.c
--- jfsutils-1.1.15.orig/libfs/fssubs.c 2013-10-28 13:23:36.823701431 +0100
+++ jfsutils-1.1.15/libfs/fssubs.c 2013-10-28 13:31:48.387556038 +0100
@@ -36,6 +36,12 @@
#include <sys/mount.h>
#endif
+#ifndef _PATH_MNTTAB
+#ifdef MOUNTED
+#define _PATH_MNTTAB MOUNTED
+#endif
+#endif
+
#if HAVE_SYS_STATVFS_H
#include <sys/statvfs.h>