From: Marc Sune <marc.sune@bisdn.de>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH 1/2] eal: add missing include <stdio.h> to rte_pci.h
Date: Thu, 28 May 2015 10:52:01 +0200 [thread overview]
Message-ID: <5566D731.3030103@bisdn.de> (raw)
In-Reply-To: <1432556634-9498-2-git-send-email-bruce.richardson@intel.com>
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 <stdio.h> to the file to satisfy this dependency in cases
> where the including C file does not already include stdio.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> 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 <stdio.h>
> #include <stdlib.h>
> #include <limits.h>
> #include <errno.h>
Acked-by: Marc Sune <marc.sune@bisdn.de>
next prev parent reply other threads:[~2015-05-28 8:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-25 12:23 [dpdk-dev] [PATCH 0/2] Add missing includes to headers Bruce Richardson
2015-05-25 12:23 ` [dpdk-dev] [PATCH 1/2] eal: add missing include <stdio.h> to rte_pci.h Bruce Richardson
2015-05-28 8:52 ` Marc Sune [this message]
2015-05-25 12:23 ` [dpdk-dev] [PATCH 2/2] kni: add missing include dependencies Bruce Richardson
2015-05-28 8:54 ` Marc Sune
2015-05-29 17:36 ` [dpdk-dev] [PATCH 0/2] Add missing includes to headers Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5566D731.3030103@bisdn.de \
--to=marc.sune@bisdn.de \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).