pipeline: fix missing header includes
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 15 Jan 2021 11:10:44 +0000 (11:10 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 21 Jan 2021 09:27:47 +0000 (10:27 +0100)
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: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
lib/librte_pipeline/rte_swx_ctl.h
lib/librte_pipeline/rte_swx_pipeline.h

index bab1894..32815b6 100644 (file)
@@ -15,6 +15,7 @@ extern "C" {
 
 #include <stddef.h>
 #include <stdint.h>
+#include <stdio.h>
 
 #include <rte_compat.h>
 
index d0a3439..f0a2cef 100644 (file)
@@ -15,6 +15,7 @@ extern "C" {
 
 #include <stddef.h>
 #include <stdint.h>
+#include <stdio.h>
 
 #include <rte_compat.h>