aboutsummaryrefslogtreecommitdiffstats
path: root/main/acl.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-23 01:06:27 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-23 01:06:27 +0000
commitc299bf0537655a919816a7d48714f8e589b8b6f1 (patch)
tree4ea6f77eedfaff1dd555fe32f093fac6c071ecb5 /main/acl.c
parentaf78fdf8f5062a2cb5226e705d98960c5a92a54d (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: http://svn.digium.com/svn/asterisk/trunk@99719 f38db490-d61c-443f-a65b-d21fe96a405b
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"