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.
This commit is contained in:
Darren Tucker 2020-04-15 10:58:02 +10:00
parent 3779b50ee9
commit 8af0244d7b

View File

@ -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>