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

Stephen Hemminger
2025-08-18T23:34:08Z

The necessary macros are in rte_tailq.h

Signed-off-by: Stephen Hemminger <stephen@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