diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-05-14 22:35:02 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-05-14 22:52:10 -0700 |
commit | 2bf3e2ef425bc2a164f10b554b7db6a8b4090ef4 (patch) | |
tree | 2a78c9c06062bbc0a7ea392357e49085431ab761 /samples/bpf/lwt_len_hist_user.c | |
parent | fb40c9ddd66b9c9bb811bbee125b3cb3ba1faee7 (diff) | |
download | op-kernel-dev-2bf3e2ef425bc2a164f10b554b7db6a8b4090ef4.zip op-kernel-dev-2bf3e2ef425bc2a164f10b554b7db6a8b4090ef4.tar.gz |
samples: bpf: include bpf/bpf.h instead of local libbpf.h
There are two files in the tree called libbpf.h which is becoming
problematic. Most samples don't actually need the local libbpf.h
they simply include it to get to bpf/bpf.h. Include bpf/bpf.h
directly instead.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/bpf/lwt_len_hist_user.c')
-rw-r--r-- | samples/bpf/lwt_len_hist_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/lwt_len_hist_user.c b/samples/bpf/lwt_len_hist_user.c index 7fcb94c..587b68b 100644 --- a/samples/bpf/lwt_len_hist_user.c +++ b/samples/bpf/lwt_len_hist_user.c @@ -9,7 +9,7 @@ #include <errno.h> #include <arpa/inet.h> -#include "libbpf.h" +#include <bpf/bpf.h> #include "bpf_util.h" #define MAX_INDEX 64 |