[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <593c24c5-2814-b975-b265-456a4f7ec4ee@iogearbox.net>
Date: Fri, 20 Apr 2018 10:13:44 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Björn Töpel <bjorn.topel@...il.com>,
ast@...com, netdev@...r.kernel.org
Cc: Björn Töpel <bjorn.topel@...el.com>,
Martin KaFai Lau <kafai@...com>
Subject: Re: [PATCH bpf-next] libbpf: fixed build error for samples/bpf/
On 04/20/2018 10:05 AM, Björn Töpel wrote:
> From: Björn Töpel <bjorn.topel@...el.com>
>
> Commit 8a138aed4a80 ("bpf: btf: Add BTF support to libbpf") did not
> include stdbool.h, so GCC complained when building samples/bpf/.
>
> In file included from /home/btopel/src/ext/linux/samples/bpf/libbpf.h:6:0,
> from /home/btopel/src/ext/linux/samples/bpf/test_lru_dist.c:24:
> /home/btopel/src/ext/linux/tools/lib/bpf/bpf.h:105:4: error: unknown type name ‘bool’; did you mean ‘_Bool’?
> bool do_log);
> ^~~~
> _Bool
>
> Signed-off-by: Björn Töpel <bjorn.topel@...el.com>
Applied to bpf-next, thanks Björn!
Powered by blists - more mailing lists