From 30f506d416b3f555d7f43187230a80c956c22a74 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Thu, 22 May 2014 10:43:57 +1000 Subject: [PATCH] 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 --- fs/hfsplus/xattr_security.c | 2 ++ fs/hfsplus/xattr_trusted.c | 2 ++ 2 files changed, 4 insertions(+) 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" -- 2.39.5