Message ID | 20131028232710.11563.530.stgit@nfdev.cica.es |
---|---|
State | Changes Requested |
Headers | show |
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
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> #include <stdbool.h> #include <string.h> #include <limits.h>
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(+) -- 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