From 6c8d1ded5e0f3e2d775eaf342cb501740e50e564 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Sat, 18 Aug 2018 12:00:59 +1000 Subject: [PATCH] rule: Fix build failure in rule.c Commit c8a0e8c90 added #include but that header needs the definition of IFNAMSIZ from Sample build failure: CC evaluate.lo In file included from ../include/linux/netfilter_bridge.h:10:0, from rule.c:32: /usr/include/linux/if_pppox.h:42:20: error: 'IFNAMSIZ' undeclared here (not in a function) char dev[IFNAMSIZ]; /* Local device to use */ ^ Makefile:687: recipe for target 'rule.lo' failed Signed-off-by: Duncan Roe Signed-off-by: Pablo Neira Ayuso --- src/rule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rule.c b/src/rule.c index d11b1d29..570d6671 100644 --- a/src/rule.c +++ b/src/rule.c @@ -29,6 +29,7 @@ #include #include #include +#include #include void handle_free(struct handle *h) -- 2.47.3