From e10de288094795aa14ed972b6d6875102771194e Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 4 Aug 2021 20:55:21 +0100 Subject: [PATCH] jail: cgroups-bpf: fix compile with musl 1.2 musl 1.2 no longer ships with . Use it only on glibc, musl provides __WORDSIZE macro in . Signed-off-by: Daniel Golle --- jail/cgroups-bpf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include +#ifdef __GLIBC__ #include -#ifndef __GLIBC__ +#else #include #endif #include -- 2.30.2