Skip to contentSkip to conversation

src: include <stdio.h>

PATCH In review Arturo Borrero Gonzalez 2 participants 2 messages Oct 28, 2013 – Oct 29, 2013 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 src: include <stdio.h>

This prevents compile errors:
[...] error: unknown type name ‘FILE’

when using with the libnftables patch 'src: add fprintf API functions'.

---
 src/netlink_delinearize.c |    1 +
 1 file changed, 1 insertion(+)
src/netlink_delinearize.c +1 -0
index 3bb143b..8318e5c 100644
@@ -10,6 +10,7 @@
  */
 
 #include <stdlib.h>
+#include <stdio.h>
 #include <stdbool.h>
 #include <string.h>
 #include <limits.h>

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 15 lines · Arturo Borrero Gonzalez

This prevents compile errors:
[...] error: unknown type name ‘FILE’

when using with the libnftables patch 'src: add fprintf API functions'.

---
 src/netlink_delinearize.c |    1 +
 1 file changed, 1 insertion(+)
src/netlink_delinearize.c +0 -0
index 3bb143b..8318e5c 100644

src/netlink_delinearize.c line 13

Quoted 4 lines
src/netlink_delinearize.c +1 -0
@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html