1 --- a/libbpf/include/linux/list.h
2 +++ b/libbpf/include/linux/list.h
7 +#include <linux/types.h>
9 #define LIST_HEAD_INIT(name) { &(name), &(name) }
10 #define LIST_HEAD(name) \
11 struct list_head name = LIST_HEAD_INIT(name)
14 @@ -73,10 +73,10 @@ CFLAGS += -W -Wall -Wextra -Wno-unused-p
15 CFLAGS += $(filter-out -Wswitch-enum -Wnested-externs,$(EXTRA_WARNINGS))
16 CFLAGS += -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ \
18 - -I$(LIBBPF_INCLUDE) \
19 -I$(srctree)/src/kernel/bpf/ \
20 -I$(srctree)/include \
21 - -I$(srctree)/include/uapi
22 + -I$(srctree)/include/uapi \
24 ifneq ($(BPFTOOL_VERSION),)
25 CFLAGS += -DBPFTOOL_VERSION='"$(BPFTOOL_VERSION)"'