]> Dogcows Code - chaz/tar/blobdiff - lib/xattr-at.c
Options to control option handling in file lists.
[chaz/tar] / lib / xattr-at.c
index 3703e1c57dd5532806132dfbcb96f9bf16403ea7..66427e9660bdbb18d91f7d5323375e44c1ff6447 100644 (file)
@@ -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
 #undef AT_FUNC_RESULT
 #undef AT_FUNC_POST_FILE_PARAM_DECLS
 #undef AT_FUNC_POST_FILE_ARGS
+
+#endif /* HAVE_XATTRS */
This page took 0.025716 seconds and 4 git commands to generate.