xfs
[Top] [All Lists]

[PATCH 3/6] fsr/xfs_fsr.c: Include <paths.h> for _PATH_MOUNTED

To: xfs@xxxxxxxxxxx
Subject: [PATCH 3/6] fsr/xfs_fsr.c: Include <paths.h> for _PATH_MOUNTED
From: Felix Janda <felix.janda@xxxxxxxxx>
Date: Tue, 12 Jan 2016 20:59:53 +0100
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <cover.1452627740.git.felix.janda@xxxxxxxxx>
References: <cover.1452627740.git.felix.janda@xxxxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
Fixes a compilation failure with musl libc

Signed-off-by: Felix Janda <felix.janda@xxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>