From 84b8bf6d5d2a52fb40124c881de162b094ff5cc1 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 24 Jan 2016 23:27:48 +0900 Subject: bug.h: move BUILD_BUG_* defines to include/linux/bug.h BUILD_BUG_* macros have been defined in several headers. It would be nice to collect them in include/linux/bug.h like Linux. This commit is cherry-picking useful macros from include/linux/bug.h of Linux 4.4. I did not import BUILD_BUG_ON_MSG() because it would not work if it is used with include/common.h in U-Boot. I'd like to postpone it until the root cause (the "error()" macro in include/common.h causes the name conflict with "__attribute__((error()))") is fixed. Signed-off-by: Masahiro Yamada Reviewed-by: Tom Rini --- fs/ubifs/replay.c | 1 + fs/ubifs/super.c | 1 + 2 files changed, 2 insertions(+) (limited to 'fs') diff --git a/fs/ubifs/replay.c b/fs/ubifs/replay.c index d0fcd83058..176125e380 100644 --- a/fs/ubifs/replay.c +++ b/fs/ubifs/replay.c @@ -26,6 +26,7 @@ #include #endif #include "ubifs.h" +#include #include /** diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index abe861a976..dcf3a47947 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.1