aboutsummaryrefslogtreecommitdiff
path: root/have
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2024-04-03 14:01:34 +0000
committerOmar Polo <op@omarpolo.com>2024-04-03 14:01:34 +0000
commitbe265175c65f1b5425e294b06874e87aa900bde1 (patch)
treeffaf068aecbadb85cd0c705d9330a3492074bbd7 /have
parent8aba5d8b210a17b49cfc8f02b12fd7b62c228fb3 (diff)
fix landlock test
include stddef.h for size_t
Diffstat (limited to 'have')
-rw-r--r--have/landlock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/have/landlock.c b/have/landlock.c
index 6548e88..4aa6b2e 100644
--- a/have/landlock.c
+++ b/have/landlock.c
@@ -19,6 +19,8 @@
#include <sys/stat.h>
#include <sys/syscall.h>
+#include <stddef.h>
+
#ifndef landlock_create_ruleset
static inline int
landlock_create_ruleset(const struct landlock_ruleset_attr *attr, size_t size,