From 3882fb463c36231d7d28402f8f8ac8bf581ec4cb Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Wed, 8 Aug 2018 21:23:59 -0400 Subject: [PATCH] e2fsck: fix LTO type warnings 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 --- e2fsck/jfs_user.h | 1 + 1 file changed, 1 insertion(+) diff --git a/e2fsck/jfs_user.h b/e2fsck/jfs_user.h index 8289795..a1c6951 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 -- 1.8.3.1