From 307680c4ba59739090ca3c9bd28e6c31c31ffe7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Mon, 26 Jun 2017 03:34:03 -0400 Subject: [PATCH 1/1] Copy defines for renameat2 from casync (#6181) --- src/basic/missing_syscall.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 5c5b54ee8..beadf369a 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -220,6 +220,10 @@ static inline pid_t raw_getpid(void) { # endif # elif defined __i386__ # define __NR_renameat2 353 +# elif defined __powerpc64__ +# define __NR_renameat2 357 +# elif defined __s390__ || defined __s390x__ +# define __NR_renameat2 347 # elif defined __arc__ # define __NR_renameat2 276 # else -- 2.30.2