Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578096 > unrolled thread

[PATCH 23/32] tools lib bpf: Add missing header to the library

Started byArnaldo Carvalho de Melo <acme@kernel.org>
First post2017-02-10 02:50 +0100
Last post2017-02-10 02:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 23/32] tools lib bpf: Add missing header to the library Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-02-10 02:50 +0100

#1578096 — [PATCH 23/32] tools lib bpf: Add missing header to the library

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-02-10 02:50 +0100
Subject[PATCH 23/32] tools lib bpf: Add missing header to the library
Message-ID<t98vw-5lK-9@gated-at.bofh.it>
From: Mickaël Salaün <mic@digikod.net>

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web