summaryrefslogtreecommitdiff
path: root/jail
diff options
context:
space:
mode:
Diffstat (limited to 'jail')
-rw-r--r--jail/cgroups-bpf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/jail/cgroups-bpf.c b/jail/cgroups-bpf.c
index c287e8b..f1bbeff 100644
--- a/jail/cgroups-bpf.c
+++ b/jail/cgroups-bpf.c
@@ -19,8 +19,9 @@
#include <assert.h>
#include <linux/bpf.h>
+#ifdef __GLIBC__
#include <sys/cdefs.h>
-#ifndef __GLIBC__
+#else
#include <sys/reg.h>
#endif
#include <sys/syscall.h>