X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=lib%2Fxattr-at.c;h=66427e9660bdbb18d91f7d5323375e44c1ff6447;hb=4eb1484dced64b74cafda40918c0d96e5084846a;hp=3703e1c57dd5532806132dfbcb96f9bf16403ea7;hpb=cd7bdd4076ca154575bbef85eb2157e59befcfe2;p=chaz%2Ftar diff --git a/lib/xattr-at.c b/lib/xattr-at.c index 3703e1c..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 2012-2013 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 */