tools lib bpf: Add missing header to the library
authorMickaël Salaün <mic@digikod.net>
Tue, 7 Feb 2017 20:56:05 +0000 (21:56 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Feb 2017 19:39:16 +0000 (16:39 -0300)
Include stddef.h to define size_t.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Acked-by: Wang 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: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/bpf/bpf.h

index a2f9853dd88259d810e6506ec5ac48d863bc074b..df6e186da788f7103ca741b491b9f1db61809bca 100644 (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);