зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1207790 - Fix sandbox build for older Linux distributions. r=gdestuynder
This commit is contained in:
Родитель
1e445509dc
Коммит
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче