jail: cgroups-bpf: fix compile with musl 1.2
authorDaniel Golle <daniel@makrotopia.org>
Wed, 4 Aug 2021 19:55:21 +0000 (20:55 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 4 Aug 2021 19:56:42 +0000 (20:56 +0100)
commite10de288094795aa14ed972b6d6875102771194e
treeb4919d8a34ff31f988317fc690fc5798e459c3f7
parent516bdf26d4f60dc5fb063da8715fed2bad24dbd0
jail: cgroups-bpf: fix compile with musl 1.2

musl 1.2 no longer ships with <sys/cdefs.h>. Use it only on
glibc, musl provides __WORDSIZE macro in <sys/regs.h>.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/cgroups-bpf.c