]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
e2fsck,misc: include ext2fs.h to avoid clang warnings
authorTheodore Ts'o <tytso@mit.edu>
Sat, 23 May 2015 22:08:35 +0000 (18:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 23 May 2015 22:08:35 +0000 (18:08 -0400)
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 <tytso@mit.edu>
e2fsck/dirinfo.c
misc/e4crypt.c

index dab5a13f22556ae65c0230d0a1f2037b3ff9cc8a..9b36ddc72f147485cbef2e597b03b2a21d9b6a51 100644 (file)
@@ -13,6 +13,7 @@
 #include <fcntl.h>
 #include "uuid/uuid.h"
 
+#include "ext2fs/ext2fs.h"
 #include <ext2fs/tdb.h>
 
 struct dir_info_db {
index b99421a4ee9976e8c1b6d0290d967fa48081febd..05bd00b47a7bff20b4ef3eca3831202a8f29d87d 100644 (file)
@@ -41,6 +41,7 @@
 #include <asm/unistd.h>
 
 #include "ext2fs/ext2_fs.h"
+#include "ext2fs/ext2fs.h"
 #include "uuid/uuid.h"
 
 /* special process keyring shortcut IDs */