diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-06-26 03:34:03 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-06-26 09:34:03 +0200 |
commit | 92369d5eeaa7dce0e99353ddadba2b0f63784e42 (patch) | |
tree | 5038387bb3fe5d498792895ab30b18966d1f2525 /src/basic | |
parent | 2d2a815c90cffe928e3796aa69edc68c58b214ee (diff) | |
download | systemd-92369d5eeaa7dce0e99353ddadba2b0f63784e42.tar.gz |
Copy defines for renameat2 from casync (#6181)
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/missing_syscall.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index d4096b8cae..898116c7b3 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -216,6 +216,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 |