[PATCH 3/6] fsr/xfs_fsr.c: Include <paths.h> for _PATH_MOUNTED
Felix Janda
felix.janda at posteo.de
Tue Jan 12 13:59:53 CST 2016
Fixes a compilation failure with musl libc
Signed-off-by: Felix Janda <felix.janda at posteo.de>
---
fsr/xfs_fsr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fsr/xfs_fsr.c b/fsr/xfs_fsr.c
index f32aced..8957f93 100644
--- a/fsr/xfs_fsr.c
+++ b/fsr/xfs_fsr.c
@@ -31,6 +31,7 @@
#include <sys/wait.h>
#include <sys/statvfs.h>
#include <sys/xattr.h>
+#include <paths.h>
#ifndef XFS_XFLAG_NODEFRAG
#define XFS_XFLAG_NODEFRAG 0x00002000 /* src dependancy, remove later */
--
2.4.10
More information about the xfs
mailing list