summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2010-08-10 02:42:01 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-10 02:44:51 -0700
commit272dfb00a9bdb9d537183dd0cfed83f698f5351a (patch)
tree0062ba01a38ba36aeb6acf62a5d634cd25bc6b3f /libglusterfs
parent3501c98d23a9dcc4e05e972cb8de600fc46e4bf9 (diff)
core,glusterd: Solaris getxattr build fix
Signed-off-by: Shehjar Tikoo <shehjart@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1178 (Gluster mainline build fails on Solaris) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1178
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libglusterfs/src/compat.h b/libglusterfs/src/compat.h
index 2d9130aac06..51539648b22 100644
--- a/libglusterfs/src/compat.h
+++ b/libglusterfs/src/compat.h
@@ -191,6 +191,7 @@ int32_t gf_darwin_compat_setxattr (dict_t *dict);
#define lchmod chmod
#endif
+#define lgetxattr(path, key, value, size) solaris_getxattr(path,key,value,size)
enum {
ATTR_CREATE = 1,
#define XATTR_CREATE ATTR_CREATE