From 700de5043510b84732eaee18fe9af42a609ab91a Mon Sep 17 00:00:00 2001 From: goldsimon Date: Tue, 11 Aug 2009 14:35:23 +0000 Subject: [PATCH] Build this file only if LWIP_SOCKET and LWIP_IGMP are enabled --- apps/rtp/rtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/rtp/rtp.c b/apps/rtp/rtp.c index f2391b1..9d68476 100644 --- a/apps/rtp/rtp.c +++ b/apps/rtp/rtp.c @@ -33,7 +33,7 @@ #include "lwip/opt.h" -#if LWIP_SOCKET /* don't build if not configured for use in lwipopts.h */ +#if LWIP_SOCKET && LWP_IGMP /* don't build if not configured for use in lwipopts.h */ #include "lwip/sys.h" #include "lwip/sockets.h" @@ -285,4 +285,4 @@ rtp_init(void) sys_thread_new("rtp_recv_thread", rtp_recv_thread, NULL, DEFAULT_THREAD_STACKSIZE, DEFAULT_THREAD_PRIO); } -#endif /* LWIP_SOCKET */ +#endif /* LWIP_SOCKET && LWIP_IGMP */