X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2Fxattr-at.c;h=66427e9660bdbb18d91f7d5323375e44c1ff6447;hb=HEAD;hp=746578c31be721f5facc0c449d047fdd28fbe464;hpb=b997c90f9e3a64186341c57c8f3f25c2246d0ebb;p=chaz%2Ftar diff --git a/lib/xattr-at.c b/lib/xattr-at.c index 746578c..66427e9 100644 --- a/lib/xattr-at.c +++ b/lib/xattr-at.c @@ -1,7 +1,7 @@ /* openat-style fd-relative functions for operating with extended file attributes. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright 2012-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +31,8 @@ #include "openat-priv.h" +#ifdef HAVE_XATTRS + /* setxattrat */ #define AT_FUNC_NAME setxattrat #define AT_FUNC_F1 setxattr @@ -108,3 +110,5 @@ #undef AT_FUNC_RESULT #undef AT_FUNC_POST_FILE_PARAM_DECLS #undef AT_FUNC_POST_FILE_ARGS + +#endif /* HAVE_XATTRS */