Build this file only if LWIP_SOCKET and LWIP_IGMP are enabled

This commit is contained in:
goldsimon 2009-08-11 14:35:23 +00:00
parent 6ce49364c5
commit 700de50435

View File

@ -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 */