Browse Source

Make zepif dependent on LWIP_UDP config

Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
STABLE-2_1_x
Martine Lenders 8 years ago committed by Simon Goldschmidt
parent
commit
264b89764d
  1. 4
      src/include/netif/zepif.h
  2. 4
      src/netif/zepif.c

4
src/include/netif/zepif.h

@ -43,7 +43,7 @@
#include "lwip/opt.h"
#include "netif/lowpan6.h"
#if LWIP_IPV6 /* don't build if not configured for use in lwipopts.h */
#if LWIP_IPV6 && LWIP_UDP /* don't build if not configured for use in lwipopts.h */
#include "lwip/netif.h"
@ -76,6 +76,6 @@ err_t zepif_init(struct netif *netif);
}
#endif
#endif /* LWIP_IPV6 */
#endif /* LWIP_IPV6 && LWIP_UDP */
#endif /* LWIP_HDR_ZEPIF_H */

4
src/netif/zepif.c

@ -49,7 +49,7 @@
#include "netif/zepif.h"
#if LWIP_IPV6
#if LWIP_IPV6 && LWIP_UDP
#include "netif/lowpan6.h"
#include "lwip/udp.h"
@ -297,4 +297,4 @@ err_ret:
return err;
}
#endif /* LWIP_IPV6 */
#endif /* LWIP_IPV6 && LWIP_UDP */

Loading…
Cancel
Save