From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Cc: netfilter-devel@vger.kernel.org
Subject: Re: [nft tool PATCH] src: include <stdio.h>
Date: Tue, 29 Oct 2013 13:24:53 +0100 [thread overview]
Message-ID: <20131029122453.GA8056@localhost> (raw)
In-Reply-To: <20131028232710.11563.530.stgit@nfdev.cica.es>
On Tue, Oct 29, 2013 at 12:27:10AM +0100, Arturo Borrero Gonzalez wrote:
> This prevents compile errors:
> [...] error: unknown type name ‘FILE’
>
> when using with the libnftables patch 'src: add fprintf API functions'.
>
> Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
> ---
> src/netlink_delinearize.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/netlink_delinearize.c b/src/netlink_delinearize.c
> index 3bb143b..8318e5c 100644
> --- a/src/netlink_delinearize.c
> +++ b/src/netlink_delinearize.c
> @@ -10,6 +10,7 @@
> */
>
> #include <stdlib.h>
> +#include <stdio.h>
This means that you have to include this in the libnftables header
files.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2013-10-29 12:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-28 23:27 [nft tool PATCH] src: include <stdio.h> Arturo Borrero Gonzalez
2013-10-29 12:24 ` Pablo Neira Ayuso [this message]
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=20131029122453.GA8056@localhost \
--to=pablo@netfilter.org \
--cc=arturo.borrero.glez@gmail.com \
--cc=netfilter-devel@vger.kernel.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).