libbpf: add xsk.h to install_headers target
authorBjörn Töpel <bjorn.topel@intel.com>
Wed, 27 Mar 2019 13:51:13 +0000 (14:51 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 28 Mar 2019 15:24:21 +0000 (16:24 +0100)
The xsk.h header file was missing from the install_headers target in
the Makefile. This patch simply adds xsk.h to the set of installed
headers.

Fixes: 1cad07884239 ("libbpf: add support for using AF_XDP sockets")
Reported-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/Makefile

index 5bf8e52..279589c 100644 (file)
@@ -222,6 +222,7 @@ install_headers:
                $(call do_install,bpf.h,$(prefix)/include/bpf,644); \
                $(call do_install,libbpf.h,$(prefix)/include/bpf,644);
                $(call do_install,btf.h,$(prefix)/include/bpf,644);
+               $(call do_install,xsk.h,$(prefix)/include/bpf,644);
 
 install: install_lib