From: Robert P. J. Day Date: Fri, 14 Mar 2008 02:41:52 +0000 (-0400) Subject: SYSFS: Explicitly include required header file slab.h. X-Git-Tag: v2.6.26-rc1~1126^2~11 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c6f87733823d69a8f12e391688ceeb1ff4922530;p=linux-2.6-omap-h63xx.git SYSFS: Explicitly include required header file slab.h. After an experimental deletion of the unnecessary inclusion of from the header file , the following files under fs/sysfs were exposed as needing to explicitly include . Signed-off-by: Robert P. J. Day Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/sysfs/dir.c b/fs/sysfs/dir.c index 4948d9bc405..a1c3a1fab7f 100644 --- a/fs/sysfs/dir.c +++ b/fs/sysfs/dir.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "sysfs.h" DEFINE_MUTEX(sysfs_mutex); diff --git a/fs/sysfs/file.c b/fs/sysfs/file.c index baa663e6938..a859c32ff93 100644 --- a/fs/sysfs/file.c +++ b/fs/sysfs/file.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include