Skip to content
Snippets Groups Projects
Commit 7a5980f9 authored by Mickaël Salaün's avatar Mickaël Salaün Committed by Arnaldo Carvalho de Melo
Browse files

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.net


Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 76667024
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment