diff options
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -196,6 +196,8 @@ copy_attr_free (struct error_context *ctx, char const *str) { } +#ifdef HAVE_ATTR_COPY_ACTION + static int copy_attr_check (const char *name, struct error_context *ctx) { @@ -203,6 +205,10 @@ copy_attr_check (const char *name, struct error_context *ctx) return action == 0 || action == ATTR_ACTION_PERMISSIONS; } +#else +#define copy_attr_check NULL +#endif + static int copy_attr (char const *src_path, char const *dst_path) { |