[PATCH v3 08/44] apps: use rte_bsd_queue.h

Stephen Hemminger stephen at networkplumber.org
Mon Nov 3 17:47:13 CET 2025


Use DPDK not system version.
Not really a requirement but better to avoid any possible conflict.

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 app/dumpcap/main.c   | 2 +-
 app/proc-info/main.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/app/dumpcap/main.c b/app/dumpcap/main.c
index e5ba36350b..506b4a5358 100644
--- a/app/dumpcap/main.c
+++ b/app/dumpcap/main.c
@@ -17,12 +17,12 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/queue.h>
 #include <sys/types.h>
 #include <sys/utsname.h>
 #include <time.h>
 #include <unistd.h>
 
+#include <rte_bsd_queue.h>
 #include <rte_alarm.h>
 #include <rte_bitops.h>
 #include <rte_bpf.h>
diff --git a/app/proc-info/main.c b/app/proc-info/main.c
index 1b9979b7c8..0826b934fc 100644
--- a/app/proc-info/main.c
+++ b/app/proc-info/main.c
@@ -9,7 +9,6 @@
 #include <errno.h>
 #include <stdarg.h>
 #include <inttypes.h>
-#include <sys/queue.h>
 #include <stdlib.h>
 #include <getopt.h>
 #include <unistd.h>
-- 
2.51.0



More information about the dev mailing list