From 42ee3b5b74b406b3d164652b65542a6f98c5cf46 Mon Sep 17 00:00:00 2001
From: Tilghman Lesher <tilghman@meg.abyt.es>
Date: Wed, 23 Jan 2008 01:06:27 +0000
Subject: [PATCH] Merged revisions 99718 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r99718 | tilghman | 2008-01-22 18:56:06 -0600 (Tue, 22 Jan 2008) | 2 lines

Just confirmed that all current platforms need this header file

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/acl.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/main/acl.c b/main/acl.c
index 810ec80ba5..9944f5076d 100644
--- a/main/acl.c
+++ b/main/acl.c
@@ -28,6 +28,7 @@
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/network.h"
+#include <ifaddrs.h>
 
 #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__)
 #include <fcntl.h>
@@ -38,10 +39,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include <sys/sockio.h>
 #endif
 
-#if defined(__Darwin__) || defined(__linux__)
-#include <ifaddrs.h>
-#endif
-
 #include "asterisk/acl.h"
 #include "asterisk/channel.h"
 #include "asterisk/utils.h"
-- 
GitLab