]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
xfs_fsr: Include <paths.h> for _PATH_MOUNTED
authorFelix Janda <felix.janda@posteo.de>
Thu, 4 Feb 2016 21:33:27 +0000 (08:33 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 4 Feb 2016 21:33:27 +0000 (08:33 +1100)
Fixes a compilation failure with musl libc

Signed-off-by: Felix Janda <felix.janda@posteo.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fsr/xfs_fsr.c

index 424fbce7b8fdad51981b6c936c2be80f2cd4ed3b..19838ed1a69ad955a8f4230b1d941d0e0975e2f0 100644 (file)
@@ -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 */