summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-02-11 22:15:13 +0100
committerMarcel Holtmann <marcel@holtmann.org>2015-02-11 22:16:07 +0100
commitd01efa07444e49aafd78e0aa822168da688d53f5 (patch)
tree0251c24c35044d9691246c0153e000e31ea76a8c /src
parentd54ddab8cbad46290306fc6e3346089fe3772d5c (diff)
missing: add __NR_getrandom for powerpc architecture
Diffstat (limited to 'src')
-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