libbpf: Provide GELF_ST_VISIBILITY() define for older libelf
authorArnaldo Carvalho de Melo <acme@kernel.org>
Sat, 8 May 2021 15:22:12 +0000 (12:22 -0300)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 11 May 2021 21:07:33 +0000 (23:07 +0200)
commit67e7ec0bd4535fc6e6d3f5d174f80e10a8a80c6e
tree0560199caa2ad0ec0a6f4a3415504cba64cd2e25
parente2d5b2bb769fa5f500760caba76436ba3a10a895
libbpf: Provide GELF_ST_VISIBILITY() define for older libelf

Where that macro isn't available.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/YJaspEh0qZr4LYOc@kernel.org
tools/lib/bpf/libbpf_internal.h