From: Theodore Ts'o Date: Sat, 23 May 2015 22:08:35 +0000 (-0400) Subject: e2fsck,misc: include ext2fs.h to avoid clang warnings X-Git-Tag: v1.43-WIP-2016-03-15~109 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8beba812a961f9fdf46610ad7fb6df5ba90b5069;p=tools%2Fe2fsprogs.git e2fsck,misc: include ext2fs.h to avoid clang warnings e2fsck/dirinfo.c and misc/e4crypt.c use functions from libext2fs, so we need to include its header file or clang will complain. Signed-off-by: Theodore Ts'o --- diff --git a/e2fsck/dirinfo.c b/e2fsck/dirinfo.c index dab5a13..9b36ddc 100644 --- a/e2fsck/dirinfo.c +++ b/e2fsck/dirinfo.c @@ -13,6 +13,7 @@ #include #include "uuid/uuid.h" +#include "ext2fs/ext2fs.h" #include struct dir_info_db { diff --git a/misc/e4crypt.c b/misc/e4crypt.c index b99421a..05bd00b 100644 --- a/misc/e4crypt.c +++ b/misc/e4crypt.c @@ -41,6 +41,7 @@ #include #include "ext2fs/ext2_fs.h" +#include "ext2fs/ext2fs.h" #include "uuid/uuid.h" /* special process keyring shortcut IDs */