summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jail/cgroups-bpf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/jail/cgroups-bpf.c b/jail/cgroups-bpf.c
index b0079d9..c287e8b 100644
--- a/jail/cgroups-bpf.c
+++ b/jail/cgroups-bpf.c
@@ -19,7 +19,10 @@
#include <assert.h>
#include <linux/bpf.h>
+#include <sys/cdefs.h>
+#ifndef __GLIBC__
#include <sys/reg.h>
+#endif
#include <sys/syscall.h>
#include <libubox/blobmsg.h>