From: Andrew Morton Date: Thu, 22 May 2014 00:43:57 +0000 (+1000) Subject: hfsplus-correct-usage-of-hfsplus_attr_max_strlen-for-non-english-attributes-fix-2 X-Git-Tag: next-20140530~2^2~93 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=30f506d416b3f555d7f43187230a80c956c22a74;p=karo-tx-linux.git hfsplus-correct-usage-of-hfsplus_attr_max_strlen-for-non-english-attributes-fix-2 fix build fs/hfsplus/xattr_security.c: In function 'hfsplus_security_getxattr': fs/hfsplus/xattr_security.c:23: error: 'NLS_MAX_CHARSET_SIZE' undeclared (first use in this function) fs/hfsplus/xattr_security.c:23: error: (Each undeclared identifier is reported o Cc: Al Viro Cc: Anton Altaparmakov Cc: Christoph Hellwig Cc: Hin-Tak Leung Cc: Sougata Santra Cc: Vyacheslav Dubeyko Signed-off-by: Andrew Morton --- diff --git a/fs/hfsplus/xattr_security.c b/fs/hfsplus/xattr_security.c index 716eedbbd237..6ec5e107691f 100644 --- a/fs/hfsplus/xattr_security.c +++ b/fs/hfsplus/xattr_security.c @@ -7,6 +7,8 @@ */ #include +#include + #include "hfsplus_fs.h" #include "xattr.h" #include "acl.h" diff --git a/fs/hfsplus/xattr_trusted.c b/fs/hfsplus/xattr_trusted.c index d2b1c1c819d7..3c5f27e4746a 100644 --- a/fs/hfsplus/xattr_trusted.c +++ b/fs/hfsplus/xattr_trusted.c @@ -6,6 +6,8 @@ * Handler for trusted extended attributes. */ +#include + #include "hfsplus_fs.h" #include "xattr.h"