Whamcloud - gitweb
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 8289795..a1c6951 100644 (file)
@@ -27,6 +27,7 @@
 /*
  * Pull in the definition of the e2fsck context structure
  */
+#include "config.h"
 #include "e2fsck.h"
 #endif