]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
e2fsck: fix LTO type warnings
authorTheodore Ts'o <tytso@mit.edu>
Thu, 9 Aug 2018 01:23:59 +0000 (21:23 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Aug 2018 01:23:59 +0000 (21:23 -0400)
The jfs_user.h, which is used by the journal functions didn't include
config.h before including e2fsck.h.  This caused the e2fsck structure
to be different compared how it's compiled for the other e2fsck source
files.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
e2fsck/jfs_user.h

index 828979514643f96e574cafa22426f618d5b8b16d..a1c6951cb2c5b1a8872caa8a389d0af6530d9512 100644 (file)
@@ -27,6 +27,7 @@
 /*
  * Pull in the definition of the e2fsck context structure
  */
+#include "config.h"
 #include "e2fsck.h"
 #endif