[Freeswitch-svn] [commit] r7112 - freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport

Freeswitch SVN mikej at freeswitch.org
Sun Jan 6 17:34:59 EST 2008


Author: mikej
Date: Sun Jan  6 17:34:59 2008
New Revision: 7112

Modified:
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_udp.c

Log:
fix build.

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_udp.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_udp.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport_type_udp.c	Sun Jan  6 17:34:59 2008
@@ -114,7 +114,9 @@
   unsigned rmem = 0, wmem = 0;
   int events = SU_WAIT_IN;
   int s;
+#if HAVE_IP_ADD_MEMBERSHIP
   su_sockaddr_t *su = (su_sockaddr_t *)ai->ai_addr;
+#endif
   int const one = 1; (void)one;
 
   s = su_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);



More information about the Freeswitch-svn mailing list