udp: Fix a simple typo in the previous commit

Use #ifdef instead of #if, to fix the build
This commit is contained in:
Jan Schmidt 2009-04-20 17:25:34 +01:00
parent 034a4a771e
commit a097571c0a

View file

@ -180,7 +180,7 @@ gst_udp_join_group (int sockfd, struct sockaddr_storage *addr, gchar * iface)
mreq4.imr_multiaddr.s_addr =
((struct sockaddr_in *) addr)->sin_addr.s_addr;
#if HAVE_IP_MREQN
#ifdef HAVE_IP_MREQN
if (iface)
mreq4.imr_ifindex = if_nametoindex (iface);
else