From: Theodore Ts'o Date: Thu, 9 Aug 2018 01:23:59 +0000 (-0400) Subject: e2fsck: fix LTO type warnings X-Git-Tag: v1.45.0~54 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=3882fb463c36231d7d28402f8f8ac8bf581ec4cb;p=tools%2Fe2fsprogs.git 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 --- 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