Skip to content

Commit

Permalink
pipeline: fix missing header includes
Browse files Browse the repository at this point in the history
[ upstream commit cd93ec8 ]

The stdio.h header needs to be included to get the definition of the
FILE type.

Fixes: b32c0a2 ("pipeline: add SWX table update high level API")
Fixes: 3ca60ce ("pipeline: add SWX pipeline specification file")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
bruce-richardson authored and bluca committed Feb 4, 2021
1 parent b7afbab commit 1bc86cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/librte_pipeline/rte_swx_ctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ extern "C" {

#include <stddef.h>
#include <stdint.h>
#include <stdio.h>

#include <rte_compat.h>

Expand Down
1 change: 1 addition & 0 deletions lib/librte_pipeline/rte_swx_pipeline.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ extern "C" {

#include <stddef.h>
#include <stdint.h>
#include <stdio.h>

#include <rte_compat.h>

Expand Down

0 comments on commit 1bc86cf

Please sign in to comment.