[asterisk-commits] tilghman: branch 1.4 r99718 - /branches/1.4/main/acl.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 22 18:56:06 CST 2008


Author: tilghman
Date: Tue Jan 22 18:56:06 2008
New Revision: 99718

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99718
Log:
Just confirmed that all current platforms need this header file

Modified:
    branches/1.4/main/acl.c

Change Statistics:
 0 files changed

Modified: branches/1.4/main/acl.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/acl.c?view=diff&rev=99718&r1=99717&r2=99718
==============================================================================
--- branches/1.4/main/acl.c (original)
+++ branches/1.4/main/acl.c Tue Jan 22 18:56:06 2008
@@ -42,6 +42,7 @@
 #include <netinet/in_systm.h>
 #include <netinet/ip.h>
 #include <sys/ioctl.h>
+#include <ifaddrs.h>
 
 #if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__)
 #include <fcntl.h>
@@ -50,10 +51,6 @@
 
 #if defined(SOLARIS)
 #include <sys/sockio.h>
-#endif
-
-#if defined(__Darwin__) || defined(__linux__)
-#include <ifaddrs.h>
 #endif
 
 /* netinet/ip.h may not define the following (See RFCs 791 and 1349) */




More information about the asterisk-commits mailing list