summaryrefslogtreecommitdiff
path: root/main/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/acl.c')
-rw-r--r--main/acl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/acl.c b/main/acl.c
index 03a01e739..a68b0ede4 100644
--- a/main/acl.c
+++ b/main/acl.c
@@ -27,11 +27,17 @@
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
+#include "asterisk/network.h"
+
#include <sys/time.h>
#include <signal.h>
#include <errno.h>
#include <sys/ioctl.h>
+#include <net/if.h>
+#include <netinet/in.h>
+#include <netinet/in_systm.h>
+#include <netinet/ip.h>
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
#include <fcntl.h>
#include <net/route.h>