netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/5] bpf: Add missing header to the library
@ 2017-02-06 20:40 Mickaël Salaün
  2017-02-06 20:40 ` [PATCH v2 2/5] bpf: Simplify bpf_load_program() error handling in " Mickaël Salaün
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Mickaël Salaün @ 2017-02-06 20:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: Mickaël Salaün, Alexei Starovoitov,
	Arnaldo Carvalho de Melo, Daniel Borkmann, David S . Miller,
	Joe Stringer, netdev, Wang Nan

Include stddef.h to define size_t.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Wang Nan <wangnan0@huawei.com>
---
 tools/lib/bpf/bpf.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/lib/bpf/bpf.h b/tools/lib/bpf/bpf.h
index a2f9853dd882..df6e186da788 100644
--- a/tools/lib/bpf/bpf.h
+++ b/tools/lib/bpf/bpf.h
@@ -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);
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-02-08 20:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-06 20:40 [PATCH v2 1/5] bpf: Add missing header to the library Mickaël Salaün
2017-02-06 20:40 ` [PATCH v2 2/5] bpf: Simplify bpf_load_program() error handling in " Mickaël Salaün
2017-02-06 20:40 ` [PATCH v2 3/5] samples/bpf: Ignore already processed ELF sections Mickaël Salaün
2017-02-06 20:40 ` [PATCH v2 4/5] samples/bpf: Reset global variables Mickaël Salaün
2017-02-06 20:40 ` [PATCH v2 5/5] samples/bpf: Add missing header Mickaël Salaün
2017-02-07 18:01 ` [PATCH v2 1/5] bpf: Add missing header to the library David Miller
2017-02-08  2:52 ` Wangnan (F)
2017-02-08 20:25   ` Mickaël Salaün

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).