chiark / gitweb /
Add #ifdef guards around xattr usage
authorHenrik Grindal Bakken <hgb@ifi.uio.no>
Wed, 21 Nov 2012 09:36:56 +0000 (10:36 +0100)
committerTollef Fog Heen <tfheen@err.no>
Wed, 21 Nov 2012 09:49:58 +0000 (10:49 +0100)
commitcf37cd2f305db327e05f8e001f5d84887f4fdfeb
treefa00f64a42d25f720b0af01919c5f45f1b26c994
parent878836df2d714a9580ad31b9db88fda862e0df50
Add #ifdef guards around xattr usage

This adds #ifdef HAVE_ATTR_XATTR_H guards around all usage of xattr.
This unbreaks building with --disable-xattr when <attr/xattr.h> doesn't exist.
<attr/xattr.h> and usage of fsetxattr() without
src/core/socket.c