chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
missing.h: add fake __NR_memfd_create for MIPS
[elogind.git]
/
src
/
shared
/
missing.h
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index 3ff1a21720835e3cb7993606afa458d07cdbea4a..3051cb5640569126ae7fded8ffb972732c484aa6 100644
(file)
--- a/
src/shared/missing.h
+++ b/
src/shared/missing.h
@@
-167,6
+167,9
@@
static inline int pivot_root(const char *new_root, const char *put_old) {
# define __NR_fanotify_mark 5296
# endif
# endif
+# ifndef __NR_memfd_create
+# define __NR_memfd_create 0xffffffff /* FIXME */
+# endif
#else
# ifndef __NR_fanotify_init
# define __NR_fanotify_init 338