[RFC 17/47] bpf: replace use of sys/queue.h
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 19 01:27:28 CEST 2025
Use new bsd_queue.h instead.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/bpf/bpf_load_elf.c | 1 -
lib/bpf/bpf_pkt.c | 3 +--
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/bpf/bpf_load_elf.c b/lib/bpf/bpf_load_elf.c
index 1d30ba17e2..4e911c5083 100644
--- a/lib/bpf/bpf_load_elf.c
+++ b/lib/bpf/bpf_load_elf.c
@@ -12,7 +12,6 @@
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/queue.h>
#include <fcntl.h>
#include <libelf.h>
diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c
index 01f813c56b..fca082ac53 100644
--- a/lib/bpf/bpf_pkt.c
+++ b/lib/bpf/bpf_pkt.c
@@ -7,8 +7,7 @@
#include <errno.h>
#include <stdint.h>
-#include <sys/queue.h>
-
+#include <bsd_queue.h>
#include <eal_export.h>
#include <rte_common.h>
#include <rte_malloc.h>
--
2.47.2
More information about the dev
mailing list