[dpdk-dev] [PATCH 1/2] eal: add missing include to rte_pci.h
On 25/05/15 14:23, Bruce Richardson wrote: > rte_pci.h depends upon stdio.h for the definition of the FILE type. Add > in #include to the file to satisfy this dependency in cases > where the including C file does not already include stdio. > > Signed-off-by: Bruce Richardson > --- > lib/librte_eal/common/include/rte_pci.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/librte_eal/common/include/rte_pci.h > b/lib/librte_eal/common/include/rte_pci.h > index 223d3cd..a346532 100644 > --- a/lib/librte_eal/common/include/rte_pci.h > +++ b/lib/librte_eal/common/include/rte_pci.h > @@ -74,6 +74,7 @@ > extern "C" { > #endif > > +#include > #include > #include > #include Acked-by: Marc Sune
[dpdk-dev] [PATCH 1/2] eal: add missing include to rte_pci.h
rte_pci.h depends upon stdio.h for the definition of the FILE type. Add in #include to the file to satisfy this dependency in cases where the including C file does not already include stdio. Signed-off-by: Bruce Richardson --- lib/librte_eal/common/include/rte_pci.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 223d3cd..a346532 100644 --- a/lib/librte_eal/common/include/rte_pci.h +++ b/lib/librte_eal/common/include/rte_pci.h @@ -74,6 +74,7 @@ extern "C" { #endif +#include #include #include #include -- 2.1.0