From 1953ed24889c0a4180f93322a5720f73adddff4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 2 Jun 2019 00:01:10 +0200 Subject: [PATCH] bcc: fix musl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/bcc/patches/musl.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/srcpkgs/bcc/patches/musl.patch b/srcpkgs/bcc/patches/musl.patch index bc7ac1e7726..20def02c588 100644 --- a/srcpkgs/bcc/patches/musl.patch +++ b/srcpkgs/bcc/patches/musl.patch @@ -48,3 +48,15 @@ #include #include #include +--- src/cc/libbpf/src/hashmap.h.orig 2019-05-29 19:27:27.000000000 +0200 ++++ src/cc/libbpf/src/hashmap.h 2019-06-01 23:57:31.458324372 +0200 +@@ -10,6 +10,9 @@ + + #include + #include ++#if !defined(__GLIBC__) ++#include /* for __WORDSIZE */ ++#endif + #include "libbpf_internal.h" + + static inline size_t hash_bits(size_t h, int bits)