[PATCH v3 06/13] ethdev: make sure all necessary headers included
Stephen Hemminger
stephen at networkplumber.org
Thu Jul 10 18:16:47 CEST 2025
Best not to depend on other EAL headers to include stuff.
Some of the later changes had build failures on some platforms.
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
lib/ethdev/ethdev_private.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lib/ethdev/ethdev_private.c b/lib/ethdev/ethdev_private.c
index 184cf33f99..fffffe2625 100644
--- a/lib/ethdev/ethdev_private.c
+++ b/lib/ethdev/ethdev_private.c
@@ -3,9 +3,18 @@
*/
#include <assert.h>
+#include <errno.h>
+#include <inttypes.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <time.h>
#include <eal_export.h>
#include <rte_debug.h>
+#include <rte_eal.h>
+#include <rte_lcore.h>
+#include <rte_stdatomic.h>
#include "rte_ethdev.h"
#include "rte_ethdev_trace_fp.h"
--
2.47.2
More information about the dev
mailing list