summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/copy.c b/src/copy.c
index b7d113fbe..067b1e722 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -132,6 +132,9 @@ utimens_symlink (char const *file, struct timespec const *timespec)
utimensat fails with ENOSYS. Ignore that. */
if (err && errno == ENOSYS)
err = 0;
+#else
+ (void) file;
+ (void) timespec;
#endif
return err;