Blob Blame History Raw
From 2e01d2a1858ff792c24a90d9e79007e657c4815b 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 16891ec80c..f439171dce 100644
--- a/src/util.h
+++ b/src/util.h
@@ -485,6 +485,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