diff mbox series

[3/5] e2fsck: fix LTO type warnings

Message ID 20180809024219.15696-3-tytso@mit.edu
State Accepted, archived
Headers show
Series [1/5] libext2fs: revamp bitmap types to fix LTO warnings | expand

Commit Message

Theodore Ts'o Aug. 9, 2018, 2:42 a.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/e2fsck/jfs_user.h b/e2fsck/jfs_user.h
index 828979514..a1c6951cb 100644
--- a/e2fsck/jfs_user.h
+++ b/e2fsck/jfs_user.h
@@ -27,6 +27,7 @@ 
 /*
  * Pull in the definition of the e2fsck context structure
  */
+#include "config.h"
 #include "e2fsck.h"
 #endif