tools lib bpf: use __u32 from linux/types.h
authorJoe Stringer <joe@ovn.org>
Fri, 9 Dec 2016 02:46:15 +0000 (18:46 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 15 Dec 2016 19:25:46 +0000 (16:25 -0300)
commit83d994d02bf4594d6bfa9b2b67befb6cff7f9380
tree47412c073b00540663071f10dc46e1f4f2cb2128
parent0cb34dc2a37290f4069c5b01735c9725dc0a1b5c
tools lib bpf: use __u32 from linux/types.h

Fixes the following issue when building without access to 'u32' type:

./tools/lib/bpf/bpf.h:27:23: error: unknown type name ‘u32’

Signed-off-by: Joe Stringer <joe@ovn.org>
Acked-by: Wang Nan <wangnan0@huawei.com>
Cc: Alexei Starovoitov <ast@fb.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Link: http://lkml.kernel.org/r/20161209024620.31660-3-joe@ovn.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/bpf/bpf.c
tools/lib/bpf/bpf.h