提交 7a5980f9 编写于 作者: M Mickaël Salaün 提交者: Arnaldo Carvalho de Melo

tools lib bpf: Add missing header to the library

Include stddef.h to define size_t.
Signed-off-by: NMickaël Salaün <mic@digikod.net>
Acked-by: NWang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: David S. Miller <davem@davemloft.net>
Cc: Joe Stringer <joe@ovn.org>
Link: http://lkml.kernel.org/r/20170207205609.8035-2-mic@digikod.netSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
上级 76667024
......@@ -22,6 +22,7 @@
#define __BPF_BPF_H
#include <linux/bpf.h>
#include <stddef.h>
int bpf_create_map(enum bpf_map_type map_type, int key_size, int value_size,
int max_entries, __u32 map_flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册