On 04/20/2018 10:05 AM, Björn Töpel wrote: > From: Björn Töpel <[email protected]> > > 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 <[email protected]>
Applied to bpf-next, thanks Björn!
