Blob Blame History Raw
From d6b59ed1353f3d451dfa95d35450cde588e9d8c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Tue, 20 Jun 2017 15:39:38 -0400
Subject: [PATCH 4/4] util: define __NR_renameat2 for ppc64

---
 src/util.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util.h b/src/util.h
index e5e94b5c8a..9497528987 100644
--- a/src/util.h
+++ b/src/util.h
@@ -476,6 +476,8 @@ static inline bool strv_isempty(char **l) {
 #      endif
 #    elif defined __i386__
 #      define __NR_renameat2 353
+#    elif defined __powerpc64__
+#      define __NR_renameat2 357
 #    else
 #      warning "__NR_renameat2 unknown for your architecture"
 #    endif
-- 
2.13.0