aboutsummaryrefslogtreecommitdiffstats
path: root/main/jfsutils/musl-fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-17 13:59:36 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-17 13:59:36 +0000
commitd9768c312ddc047df6c2c9b1674b2ab37ddf4e2a (patch)
tree11bb55dee30c54df4d5789a2aaf036294999eff4 /main/jfsutils/musl-fix-includes.patch
parenta88e28c7c3e258b29a40c39e3dd73d4f32e2e460 (diff)
main/jfsutils: fix musl build
Diffstat (limited to 'main/jfsutils/musl-fix-includes.patch')
-rw-r--r--main/jfsutils/musl-fix-includes.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/main/jfsutils/musl-fix-includes.patch b/main/jfsutils/musl-fix-includes.patch
new file mode 100644
index 00000000000..33ba55d7959
--- /dev/null
+++ b/main/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