summaryrefslogtreecommitdiff
path: root/sandbox-seccomp-filter.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2020-04-15 10:58:02 +1000
committerDarren Tucker <dtucker@dtucker.net>2020-04-15 10:58:02 +1000
commit8af0244d7b4a65eed2e62f9c89141c7c8e63f09d (patch)
treed559741e48554119c6a98da679c3939b50319e89 /sandbox-seccomp-filter.c
parent3779b50ee952078018a5d9e1df20977f4355df17 (diff)
downloadopenssh-git-8af0244d7b4a65eed2e62f9c89141c7c8e63f09d.tar.gz
Add sys/syscall.h for syscall numbers.
In some architecture/libc configurations we need to explicitly include sys/syscall.h for the syscall number (__NR_xxx) definitions. bz#3085, patch from blowfist at xroutine.net.
Diffstat (limited to 'sandbox-seccomp-filter.c')
-rw-r--r--sandbox-seccomp-filter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index f80981fa..e0768c06 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -43,6 +43,7 @@
#include <sys/resource.h>
#include <sys/prctl.h>
#include <sys/mman.h>
+#include <sys/syscall.h>
#include <linux/net.h>
#include <linux/audit.h>