bpftool: Update to v7.4.0
[openwrt/staging/stintel.git] / package / network / utils / bpftool / patches / 002-includes.patch
1 --- a/src/Makefile
2 +++ b/src/Makefile
3 @@ -73,10 +73,10 @@ CFLAGS += -W -Wall -Wextra -Wno-unused-p
4 CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
5 CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
6 -I$(or $(OUTPUT),.) \
7 - -I$(LIBBPF_INCLUDE) \
8 -I$(srctree)/src/kernel/bpf/ \
9 -I$(srctree)/include \
10 - -I$(srctree)/include/uapi
11 + -I$(srctree)/include/uapi \
12 + -I$(LIBBPF_INCLUDE)
13 ifneq ($(BPFTOOL_VERSION),)
14 CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'
15 endif