[Asterisk-cvs] asterisk acl.c,1.14,1.15
markster at lists.digium.com
markster at lists.digium.com
Mon Feb 2 00:30:41 CST 2004
- Previous message: [Asterisk-cvs] asterisk/channels chan_iax.c,1.48,1.49 chan_iax2.c,1.89,1.90 chan_mgcp.c,1.33,1.34 chan_sip.c,1.285,1.286 chan_skinny.c,1.26,1.27
- Next message: [Asterisk-cvs] asterisk/editline Makefile.in,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv17974
Modified Files:
acl.c
Log Message:
More BSD enhancements (#970)
Index: acl.c
===================================================================
RCS file: /usr/cvsroot/asterisk/acl.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- acl.c 10 Jan 2004 22:19:31 -0000 1.14
+++ acl.c 2 Feb 2004 06:39:23 -0000 1.15
@@ -29,7 +29,7 @@
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <sys/ioctl.h>
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
#include <fcntl.h>
#include <net/route.h>
@@ -179,7 +179,7 @@
int ast_ouraddrfor(struct in_addr *them, struct in_addr *us)
{
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)
struct sockaddr_in *sin;
struct sockaddr *sa;
struct {
- Previous message: [Asterisk-cvs] asterisk/channels chan_iax.c,1.48,1.49 chan_iax2.c,1.89,1.90 chan_mgcp.c,1.33,1.34 chan_sip.c,1.285,1.286 chan_skinny.c,1.26,1.27
- Next message: [Asterisk-cvs] asterisk/editline Makefile.in,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list