mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
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/filter.h>
|
||||||
#include <linux/seccomp.h>
|
#include <linux/seccomp.h>
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||||
#define ARGS_LO_OFFSET 0
|
#define ARGS_LO_OFFSET 0
|
||||||
#define ARGS_HI_OFFSET sizeof(u_int32_t)
|
#define ARGS_HI_OFFSET sizeof(u_int32_t)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user