[PATCH v2 08/43] apps: use rte_bsd_queue.h

Stephen Hemminger
2025-08-25T03:42:23Z

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

Signed-off-by: Stephen Hemminger <stephen@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 3d3c0dbc66..9cc1f17093 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 be67386658..2feecbca78 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.47.2