summaryrefslogtreecommitdiff
path: root/system/jfsutils/musl-fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/jfsutils/musl-fix-includes.patch')
-rw-r--r--system/jfsutils/musl-fix-includes.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/jfsutils/musl-fix-includes.patch b/system/jfsutils/musl-fix-includes.patch
new file mode 100644
index 000000000..33ba55d79
--- /dev/null
+++ b/system/jfsutils/musl-fix-includes.patch
@@ -0,0 +1,18 @@
+--- jfsutils-1.1.15.orig/libfs/fssubs.c
++++ jfsutils-1.1.15/libfs/fssubs.c
+@@ -24,6 +24,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <paths.h>
+
+ #if HAVE_MNTENT_H
+ #include <mntent.h>
+@@ -31,7 +32,6 @@
+ #endif
+
+ #if HAVE_GETMNTINFO
+-#include <paths.h>
+ #include <sys/param.h>
+ #include <sys/mount.h>
+ #endif