Use rte_bsd_queue.h instead. Signed-off-by: Stephen Hemminger <[email protected]> --- lib/ethdev/ethdev_private.h | 3 +-- lib/ethdev/rte_ethdev.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/ethdev/ethdev_private.h b/lib/ethdev/ethdev_private.h index 41a0ebe268..54b4b44052 100644 --- a/lib/ethdev/ethdev_private.h +++ b/lib/ethdev/ethdev_private.h @@ -5,8 +5,7 @@ #ifndef _ETH_PRIVATE_H_ #define _ETH_PRIVATE_H_ -#include <sys/queue.h> - +#include <rte_bsd_queue.h> #include <rte_eal_memconfig.h> #include <rte_malloc.h> #include <rte_os_shim.h> diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c index c6fe0d5165..e624882dcb 100644 --- a/lib/ethdev/rte_ethdev.c +++ b/lib/ethdev/rte_ethdev.c @@ -9,8 +9,8 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/queue.h> +#include <rte_bsd_queue.h> #include <bus_driver.h> #include <eal_export.h> #include <rte_log.h> -- 2.51.0

