summaryrefslogtreecommitdiffstats
path: root/gst/udp
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-04-20 17:25:34 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-04-20 17:26:11 +0100
commita097571c0a6da9d8deeedc2d613f6c730b129833 (patch)
treead99e8a56d08585fce34d4c2ca5f9ec60d34ee42 /gst/udp
parent034a4a771e9f5636dff77b9e41c84b08513c95b2 (diff)
udp: Fix a simple typo in the previous commit
Use #ifdef instead of #if, to fix the build
Diffstat (limited to 'gst/udp')
-rw-r--r--gst/udp/gstudpnetutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/udp/gstudpnetutils.c b/gst/udp/gstudpnetutils.c
index 707f7fc7..86c1f508 100644
--- a/gst/udp/gstudpnetutils.c
+++ b/gst/udp/gstudpnetutils.c
@@ -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