summaryrefslogtreecommitdiff
path: root/src/shared/firewall-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-12-06 20:49:12 +0100
committerLennart Poettering <lennart@poettering.net>2015-12-06 20:49:12 +0100
commite28039b2eba3abc6a74d24c226fb1cecfa6f7545 (patch)
tree9f873c7724d95f28b35d6b9b28915cefb04af55d /src/shared/firewall-util.c
parentc8a65ef42da42bc2584162d273b64c66d76f4dae (diff)
parent22ebb9e4a9d8802b194eccc050552d0e188af489 (diff)
Merge pull request #2107 from phomes/misc
Misc cleanups
Diffstat (limited to 'src/shared/firewall-util.c')
-rw-r--r--src/shared/firewall-util.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/shared/firewall-util.c b/src/shared/firewall-util.c
index 5acfb0191b..9606122345 100644
--- a/src/shared/firewall-util.c
+++ b/src/shared/firewall-util.c
@@ -19,9 +19,14 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <alloca.h>
#include <arpa/inet.h>
+#include <endian.h>
+#include <errno.h>
#include <net/if.h>
-#include <sys/types.h>
+#include <stddef.h>
+#include <string.h>
+#include <sys/socket.h>
#include <linux/netfilter_ipv4/ip_tables.h>
#include <linux/netfilter/nf_nat.h>
#include <linux/netfilter/xt_addrtype.h>
@@ -29,7 +34,8 @@
#include "alloc-util.h"
#include "firewall-util.h"
-#include "util.h"
+#include "in-addr-util.h"
+#include "macro.h"
DEFINE_TRIVIAL_CLEANUP_FUNC(struct xtc_handle*, iptc_free);