X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=lib%2Fxattr-at.c;h=1bb48fa709acb76324eb99062002e3851d2534f4;hb=d30babc23b4f25be970ada2e63a50220a3672281;hp=443ccae48ff4f5fa2d57e0e926ad299a3d5ee37f;hpb=4aa85f09e755fc827cd5ab6225f20c83cd42245d;p=debian%2Ftar diff --git a/lib/xattr-at.c b/lib/xattr-at.c index 443ccae4..1bb48fa7 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-2014 Free Software Foundation, Inc. + Copyright 2012-2014, 2016 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 */