bpftool: Update to v7.4.0
[openwrt/staging/stintel.git] / package / network / utils / bpftool / patches / 002-includes.patch
index ac1b5fcc2286c336503639d531cbb5a09629c72e..e6ec3f262b9a5e9eda7a90a34cb6ef41b2bd9c4d 100644 (file)
@@ -1,14 +1,3 @@
---- a/libbpf/include/linux/list.h
-+++ b/libbpf/include/linux/list.h
-@@ -3,6 +3,8 @@
- #ifndef __LINUX_LIST_H
- #define __LINUX_LIST_H
-+#include <linux/types.h>
-+
- #define LIST_HEAD_INIT(name) { &(name), &(name) }
- #define LIST_HEAD(name) \
-         struct list_head name = LIST_HEAD_INIT(name)
 --- a/src/Makefile
 +++ b/src/Makefile
 @@ -73,10 +73,10 @@ CFLAGS += -W -Wall -Wextra -Wno-unused-p