summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-06-26 03:34:03 -0400
committerLennart Poettering <lennart@poettering.net>2017-06-26 09:34:03 +0200
commit92369d5eeaa7dce0e99353ddadba2b0f63784e42 (patch)
tree5038387bb3fe5d498792895ab30b18966d1f2525 /src/basic
parent2d2a815c90cffe928e3796aa69edc68c58b214ee (diff)
downloadsystemd-92369d5eeaa7dce0e99353ddadba2b0f63784e42.tar.gz
Copy defines for renameat2 from casync (#6181)
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/missing_syscall.h4
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