From 8beba812a961f9fdf46610ad7fb6df5ba90b5069 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 23 May 2015 18:08:35 -0400 Subject: [PATCH] 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 --- e2fsck/dirinfo.c | 1 + misc/e4crypt.c | 1 + 2 files changed, 2 insertions(+) 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 */ -- 1.8.3.1