Re: [nft tool PATCH] src: include <stdio.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux