Browse Source

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
commit
8f563c8a3c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/iptables.c

+ 2
- 2
daemon/iptables.c View File

@ -1,4 +1,6 @@
#include "iptables.h" #include "iptables.h"
#include "main.h"
#include "str.h"
int (*iptables_add_rule)(const socket_t *local_sock, const str *comment); int (*iptables_add_rule)(const socket_t *local_sock, const str *comment);
int (*iptables_del_rule)(const socket_t *local_sock); 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 "aux.h"
#include "log.h" #include "log.h"
#include "socket.h" #include "socket.h"
#include "str.h"
#include "main.h"
#undef __ALIGN_KERNEL #undef __ALIGN_KERNEL
#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof(x))(a) - 1) #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof(x))(a) - 1)


Loading…
Cancel
Save