expr: include stdio.h for FILE
PATCH 1/1 expr: include stdio.h for FILE
libnftnl/expr.h declares nftnl_expr_fprintf(FILE *, ...) but does not include <stdio.h>, so a program that includes it first fails to build:
error: unknown type name 'FILE'
Include it as rule.h and table.h already do.
Signed-off-by Harun Wagura Ndichu <[email protected]>
--- include/libnftnl/expr.h | 1 + 1 file changed, 1 insertion(+)
include/libnftnl/expr.h +1 -0
@@ -1,6 +1,7 @@#ifndef _LIBNFTNL_EXPR_H_#define _LIBNFTNL_EXPR_H_ +#include <stdio.h> #include <stdint.h> #include <stdbool.h> #include <sys/types.h>
Signature · 1 line
2.56.1