[PATCH v3 25/44] net/failsafe: replace use of sys/queue.h

Stephen Hemminger
2025-11-03T16:52:08Z

Replace use of system sys/queue.h with DPDK rte_bsd_queue.h

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
drivers/net/failsafe/failsafe_flow.c | 1 -
drivers/net/failsafe/failsafe_private.h | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/net/failsafe/failsafe_flow.c b/drivers/net/failsafe/failsafe_flow.c
index 707e6c63b5..9f620443a4 100644
--- a/drivers/net/failsafe/failsafe_flow.c
+++ b/drivers/net/failsafe/failsafe_flow.c
@@ -5,7 +5,6 @@

#include <stddef.h>
#include <string.h>
-#include <sys/queue.h>

#include <rte_errno.h>
#include <rte_malloc.h>
diff --git a/drivers/net/failsafe/failsafe_private.h b/drivers/net/failsafe/failsafe_private.h
index babea6016e..94533a9a81 100644
--- a/drivers/net/failsafe/failsafe_private.h
+++ b/drivers/net/failsafe/failsafe_private.h
@@ -7,7 +7,7 @@
#define _ETH_FAILSAFE_PRIVATE_H_

#include <stdint.h>
-#include <sys/queue.h>
+#include <rte_bsd_queue.h>
#include <pthread.h>

#include <rte_atomic.h>
--
2.51.0