1 2 3 4 5 6 7 8 9 10 11 12 13 14
--- a/cpdup.c +++ b/cpdup.c @@ -1543,7 +1543,11 @@ */ static int +#ifdef _ST_FLAGS_PRESENT_ xrename(const char *src, const char *dst, u_long flags) +#else +xrename(const char *src, const char *dst, u_long flags __unused) +#endif { int r;