mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +00:00
Bug 1207790 - Fix sandbox build for older Linux distributions. r=gdestuynder
This commit is contained in:
parent
1e445509dc
commit
8be1ae39c7
@ -14,10 +14,15 @@
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "sandbox/linux/bpf_dsl/bpf_dsl.h"
|
||||
|
||||
// Older kernel headers (mostly Android, but also some older desktop
|
||||
// distributions) are missing some or all of these:
|
||||
#ifndef SYS_ACCEPT4
|
||||
// Android's kernel headers don't define these.
|
||||
#define SYS_ACCEPT4 18
|
||||
#endif
|
||||
#ifndef SYS_RECVMMSG
|
||||
#define SYS_RECVMMSG 19
|
||||
#endif
|
||||
#ifndef SYS_SENDMMSG
|
||||
#define SYS_SENDMMSG 20
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user