From 8f563c8a3c540482352d51d7747304c577619980 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 23 Jan 2018 06:38:31 -0500 Subject: [PATCH] fix compilation when `with_iptables_option` is set to no reported in #444 Change-Id: I358551a3b6588b601364b54aee3e1f8d5097668e --- daemon/iptables.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/iptables.c b/daemon/iptables.c index b12efc1ec..802a3efc9 100644 --- a/daemon/iptables.c +++ b/daemon/iptables.c @@ -1,4 +1,6 @@ #include "iptables.h" +#include "main.h" +#include "str.h" int (*iptables_add_rule)(const socket_t *local_sock, const str *comment); int (*iptables_del_rule)(const socket_t *local_sock); @@ -21,8 +23,6 @@ int (*iptables_del_rule)(const socket_t *local_sock); #include "aux.h" #include "log.h" #include "socket.h" -#include "str.h" -#include "main.h" #undef __ALIGN_KERNEL #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof(x))(a) - 1)