fix compilation when `with_iptables_option` is set to no

reported in #444

Change-Id: I358551a3b6588b601364b54aee3e1f8d5097668e
changes/88/18488/3
Richard Fuchs 8 years ago
parent edb21fe408
commit 8f563c8a3c

@ -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)

Loading…
Cancel
Save