Commit 7a5980f9 authored by Mickaël Salaün's avatar Mickaël Salaün Committed by Arnaldo Carvalho de Melo

tools lib bpf: Add missing header to the library

Include stddef.h to define size_t.
Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
Acked-by: default avatarWang 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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment