diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-10-10 20:29:01 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-11 23:11:55 +0200 |
commit | e78dcbf414545b53218dab0fb5af5d6b61513eaf (patch) | |
tree | 8ff553578ad3fd12d931273d5f24b72e2f9a5228 /samples | |
parent | 409017847d2014db8ab1da49dd48182af88344b7 (diff) |
libbpf: Handle invalid typedef emitted by old GCC
Old GCC versions are producing invalid typedef for __gnuc_va_list
pointing to void. Special-case this and emit valid:
typedef __builtin_va_list __gnuc_va_list;
Reported-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20191011032901.452042-1-andriin@fb.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions