whitelist: Fix compilation on FreeBSD
authorTobias Brunner <tobias@strongswan.org>
Wed, 31 Jul 2013 07:03:48 +0000 (09:03 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 Jul 2013 20:16:58 +0000 (22:16 +0200)
src/libcharon/plugins/whitelist/whitelist.c

index f5fa6f6..ef1ed9c 100644 (file)
 #include <stdlib.h>
 #include <stddef.h>
 #include <stdio.h>
+#include <string.h>
 #include <errno.h>
 #include <arpa/inet.h>
+#include <netinet/in.h>
 
 /**
  * Connect to the daemon, return FD