summaryrefslogtreecommitdiff
path: root/system/jfsutils/musl-fix-includes.patch
blob: 33ba55d795907022dac04d6acedcbfef55a06ffb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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