diff mbox series

[bpf,1/2] libbpf: add xsk.h to install_headers target

Message ID 20190327135114.17026-2-bjorn.topel@gmail.com
State Accepted
Delegated to: BPF Maintainers
Headers show
Series libbpf: minor packaging fixes | expand

Commit Message

Björn Töpel March 27, 2019, 1:51 p.m. UTC
From: Björn Töpel <bjorn.topel@intel.com>

The xsk.h header file was missing from the insteall_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>
---
 tools/lib/bpf/Makefile | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
index 5bf8e52c41fc..279589c29983 100644
--- a/tools/lib/bpf/Makefile
+++ b/tools/lib/bpf/Makefile
@@ -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