summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/missing.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index f8721e6b99..4cc6fdc069 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -177,6 +177,8 @@ static inline int memfd_create(const char *name, unsigned int flags) {
# define __NR_getrandom 352
# elif defined(__s390x__)
# define __NR_getrandom 349
+# elif defined(__powerpc__)
+# define __NR_getrandom 359
# else
# warning "__NR_getrandom unknown for your architecture"
# define __NR_getrandom 0xffffffff