summaryrefslogtreecommitdiff
path: root/main/acl.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-01-23 01:06:27 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-01-23 01:06:27 +0000
commit42ee3b5b74b406b3d164652b65542a6f98c5cf46 (patch)
tree4ea6f77eedfaff1dd555fe32f093fac6c071ecb5 /main/acl.c
parent8229f0a00b2988153cf29500bdce9f9b7ad7f9b2 (diff)
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
Diffstat (limited to 'main/acl.c')
-rw-r--r--main/acl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main/acl.c b/main/acl.c
index 810ec80ba..9944f5076 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"