[RFC 14/47] lpm: do not include sys/queue.h

Stephen Hemminger stephen at networkplumber.org
Tue Aug 19 01:27:25 CEST 2025


The necessary macros are in rte_tailq.h

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 lib/lpm/rte_lpm.c  | 1 -
 lib/lpm/rte_lpm6.c | 1 -
 2 files changed, 2 deletions(-)

diff --git a/lib/lpm/rte_lpm.c b/lib/lpm/rte_lpm.c
index 6dab86a05e..09d1e08263 100644
--- a/lib/lpm/rte_lpm.c
+++ b/lib/lpm/rte_lpm.c
@@ -7,7 +7,6 @@
 #include <stdint.h>
 #include <errno.h>
 #include <stdio.h>
-#include <sys/queue.h>
 
 #include <eal_export.h>
 #include <rte_log.h>
diff --git a/lib/lpm/rte_lpm6.c b/lib/lpm/rte_lpm6.c
index e23c886766..781ec8de0b 100644
--- a/lib/lpm/rte_lpm6.c
+++ b/lib/lpm/rte_lpm6.c
@@ -6,7 +6,6 @@
 #include <stdint.h>
 #include <errno.h>
 #include <stdio.h>
-#include <sys/queue.h>
 
 #include <eal_export.h>
 #include <rte_log.h>
-- 
2.47.2



More information about the dev mailing list