The stdio.h header needs to be included to get the definition of the
FILE type.
Fixes: b32c0a2c5e4c ("pipeline: add SWX table update high level API")
Fixes: 3ca60ceed79a ("pipeline: add SWX pipeline specification file")
Cc: [email protected]
Signed-off-by: Bruce Richardson <[email protected]>
---
lib/librte_pipeline/rte_swx_ctl.h | 1 +
lib/librte_pipeline/rte_swx_pipeline.h | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/librte_pipeline/rte_swx_ctl.h
b/lib/librte_pipeline/rte_swx_ctl.h
index bab1894944..32815b69e2 100644
--- a/lib/librte_pipeline/rte_swx_ctl.h
+++ b/lib/librte_pipeline/rte_swx_ctl.h
@@ -15,6 +15,7 @@ extern "C" {
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <rte_compat.h>
diff --git a/lib/librte_pipeline/rte_swx_pipeline.h
b/lib/librte_pipeline/rte_swx_pipeline.h
index d0a3439edf..f0a2cef777 100644
--- a/lib/librte_pipeline/rte_swx_pipeline.h
+++ b/lib/librte_pipeline/rte_swx_pipeline.h
@@ -15,6 +15,7 @@ extern "C" {
#include <stddef.h>
#include <stdint.h>
+#include <stdio.h>
#include <rte_compat.h>
--
2.27.0