Re: [PATCH bpf-next] libbpf: fixed build error for samples/bpf/

2018-04-20 Thread Martin KaFai Lau
On Fri, Apr 20, 2018 at 10:05:16AM +0200, Björn Töpel wrote: > From: Björn Töpel > > 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:

Re: [PATCH bpf-next] libbpf: fixed build error for samples/bpf/

2018-04-20 Thread Daniel Borkmann
On 04/20/2018 10:05 AM, Björn Töpel wrote: > From: Björn Töpel > > 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, >

[PATCH bpf-next] libbpf: fixed build error for samples/bpf/

2018-04-20 Thread Björn Töpel
From: Björn Töpel 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_