kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 48ae94eb474602bb0170f03e0c026555ef637a49
parent f072e4d5e409866b7e95a621249b9dd073743aef
Author: Joris Vink <joris@coders.se>
Date:   Mon, 21 Mar 2022 12:51:22 +0100

Pull in stddef.h in seccomp.h.

offsetof() on Linux is defined in it.

Diffstat:
include/kore/seccomp.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/kore/seccomp.h b/include/kore/seccomp.h @@ -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)