tools lib bpf: Add missing header to the library

Include stddef.h to define size_t.

Signed-off-by: Mickaël Salaün <[email protected]>
Acked-by: Wang Nan <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Joe Stringer <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
Mickaël Salaün 2017-02-07 21:56:05 +01:00 • committed by Arnaldo Carvalho de Melo
commit 7a5980f9c0

View file

@ -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);