[PATCH 6/6] xfsprogs: add missing include of <stat.h>

Theodore Ts'o
2015-07-26T12:21:11Z

In libdisk/evms.c, fields from struct stat are used without including
<stat.h>. Apparently stat.h is included indirectly in glibc's header
files; not so in Android's bionic libc.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
---
libdisk/evms.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/libdisk/evms.c b/libdisk/evms.c
index 4c22ee1..7d41af6 100644
--- a/libdisk/evms.c
+++ b/libdisk/evms.c
@@ -22,6 +22,7 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/sysmacros.h>
+#include <sys/stat.h>
#include <disk/volume.h>
#include "evms.h"

--
2.3.0