forked from mirrors/kore
Pull in stddef.h in seccomp.h.
offsetof() on Linux is defined in it.
This commit is contained in:
parent
f072e4d5e4
commit
48ae94eb47
|
@ -23,6 +23,8 @@
|
|||
#include <linux/filter.h>
|
||||
#include <linux/seccomp.h>
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
#define ARGS_LO_OFFSET 0
|
||||
#define ARGS_HI_OFFSET sizeof(u_int32_t)
|
||||
|
|
Loading…
Reference in New Issue