Commit 89a0016c authored by Gordana.Cmiljanovic's avatar Gordana.Cmiljanovic Committed by Commit bot

[MIPS] Fix seccomp-bpf compile error for MIPS

This change fixes the seccomp-bpf compile error
introduced by change:
https://chromium.googlesource.com/chromium/src/+/ab2d46af89c657ab4fd01ab00de1ba2a6ad73f8d

BUG=408845

Review URL: https://codereview.chromium.org/569333003

Cr-Commit-Position: refs/heads/master@{#295291}
parent 102706b5
......@@ -13,6 +13,11 @@
#include "build/build_config.h"
#include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
#if defined(__mips__)
// __NR_Linux, is defined in <asm/unistd.h>.
#include <asm/unistd.h>
#endif
#define SECCOMP_MESSAGE_COMMON_CONTENT "seccomp-bpf failure"
#define SECCOMP_MESSAGE_CLONE_CONTENT "clone() failure"
#define SECCOMP_MESSAGE_PRCTL_CONTENT "prctl() failure"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment