From 6204fc100126b67d8f7ecf1795cca7eb3c19ecb9 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 fix build fs/hfsplus/xattr_user.c: In function 'hfsplus_user_getxattr': fs/hfsplus/xattr_user.c:21: error: 'NLS_MAX_CHARSET_SIZE' undeclared (first use in this function) fs/hfsplus/xattr_user.c:21: error: (Each undeclared identifier is reported only once 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_user.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/hfsplus/xattr_user.c b/fs/hfsplus/xattr_user.c index fc70f980a58e..2b625a538b64 100644 --- a/fs/hfsplus/xattr_user.c +++ b/fs/hfsplus/xattr_user.c @@ -6,6 +6,8 @@ * Handler for user extended attributes. */ +#include + #include "hfsplus_fs.h" #include "xattr.h" -- 2.39.5