[RFC 37/47] net/sfc: replace use of sys/queue.h
Stephen Hemminger
stephen at networkplumber.org
Tue Aug 19 01:27:48 CEST 2025
Replace use of system sys/queue.h with DPDK bsd_queue.h
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
drivers/net/sfc/sfc_dp.c | 2 +-
drivers/net/sfc/sfc_dp.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/sfc/sfc_dp.c b/drivers/net/sfc/sfc_dp.c
index 7e2a20e4dc..0dbdc5d6ff 100644
--- a/drivers/net/sfc/sfc_dp.c
+++ b/drivers/net/sfc/sfc_dp.c
@@ -7,7 +7,7 @@
* for Solarflare) and Solarflare Communications, Inc.
*/
-#include <sys/queue.h>
+#include <bsd_queue.h>
#include <stdalign.h>
#include <string.h>
#include <errno.h>
diff --git a/drivers/net/sfc/sfc_dp.h b/drivers/net/sfc/sfc_dp.h
index 545f0f32bf..6f61b20a0f 100644
--- a/drivers/net/sfc/sfc_dp.h
+++ b/drivers/net/sfc/sfc_dp.h
@@ -11,7 +11,6 @@
#define _SFC_DP_H
#include <stdbool.h>
-#include <sys/queue.h>
#include <rte_pci.h>
--
2.47.2
More information about the dev
mailing list