| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 6/6] xfsprogs: add missing include of <stat.h> |
| From: | Theodore Ts'o <tytso@xxxxxxx> |
| Date: | Sun, 26 Jul 2015 08:20:55 -0400 |
| Cc: | Theodore Ts'o <tytso@xxxxxxx>, fstests@xxxxxxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=VL00phfgaGXhgpn4rIcnWKbnGOh5wAXNhdBqEZHyPqI=; b=QPp40C1V1pEwn+9M751gfBy3Nnl+HccEgwmQiXUZ3siIVgw7yQJsB8z3Nd0eGV+fxYifenmngD8Ftg18+1phJq11ya7me3/UKVswuwBcYb5q3UOJvgFSZbPBzqGJUVW+tFGs0K4oWdXmzfTyBv/XRgUlh+giev2bornRpENC0rk=; |
| In-reply-to: | <1437913255-7524-1-git-send-email-tytso@xxxxxxx> |
| References: | <1437913255-7524-1-git-send-email-tytso@xxxxxxx> |
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@xxxxxxx> --- 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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 0/6] Add cross-compilation support for android, Theodore Ts'o |
|---|---|
| Next by Date: | [PATCH 2/6] xfsprogs: pull in libgen.h to get prototype for basename(), Theodore Ts'o |
| Previous by Thread: | Re: [PATCH 3/6] xfsprogs: define and use BUILD_CC in configure.ac for cross compilation, Christoph Hellwig |
| Next by Thread: | Re: [PATCH 6/6] xfsprogs: add missing include of <stat.h>, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |