From: Paul Gortmaker Date: Fri, 20 Jan 2012 23:46:49 +0000 (-0500) Subject: lib: fix implicit users of kernel.h for TAINT_WARN X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b116ee4d772565d204db057a10fcd81d7a2513a8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git lib: fix implicit users of kernel.h for TAINT_WARN A pending header cleanup will cause this to show up as: lib/average.c:38: error: 'TAINT_WARN' undeclared (first use in this function) lib/list_debug.c:24: error: 'TAINT_WARN' undeclared (first use in this function) and TAINT_WARN comes from include/linux/kernel.h file. Signed-off-by: Paul Gortmaker --- diff --git a/lib/average.c b/lib/average.c index 5576c2841496..57c38c6e39cd 100644 --- a/lib/average.c +++ b/lib/average.c @@ -7,6 +7,7 @@ #include #include +#include #include #include diff --git a/lib/list_debug.c b/lib/list_debug.c index b8029a5583ff..7204e619a4c1 100644 --- a/lib/list_debug.c +++ b/lib/list_debug.c @@ -8,6 +8,7 @@ #include #include +#include /* * Insert a new entry between two known consecutive entries.