X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Fmissing.h;h=023c680ec66dfb97ccb016b2122a5de3507b51c6;hb=04d180c8a8641c209eb19d1210b5d4e36f0ae05b;hp=3051cb5640569126ae7fded8ffb972732c484aa6;hpb=a7d611f280b3eadafd6b411b659a321b4d6e63f4;p=elogind.git diff --git a/src/shared/missing.h b/src/shared/missing.h index 3051cb564..023c680ec 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -168,7 +168,8 @@ static inline int pivot_root(const char *new_root, const char *put_old) { # endif # endif # ifndef __NR_memfd_create -# define __NR_memfd_create 0xffffffff /* FIXME */ +# warning "__NR_memfd_create not yet defined for MIPS" +# define __NR_memfd_create 0xffffffff # endif #else # ifndef __NR_fanotify_init @@ -557,6 +558,10 @@ static inline int setns(int fd, int nstype) { #define IPV6_UNICAST_IF 76 #endif +#ifndef IFF_MULTI_QUEUE +#define IFF_MULTI_QUEUE 0x100 +#endif + #ifndef IFF_LOWER_UP #define IFF_LOWER_UP 0x10000 #endif @@ -592,3 +597,7 @@ static inline int setns(int fd, int nstype) { #ifndef NET_NAME_RENAMED # define NET_NAME_RENAMED 4 #endif + +#ifndef BPF_XOR +# define BPF_XOR 0xa0 +#endif