mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
Make zepif dependent on LWIP_UDP config
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
parent
fa3826a1d3
commit
264b89764d
@ -43,7 +43,7 @@
|
|||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#include "netif/lowpan6.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"
|
#include "lwip/netif.h"
|
||||||
|
|
||||||
@ -76,6 +76,6 @@ err_t zepif_init(struct netif *netif);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_IPV6 */
|
#endif /* LWIP_IPV6 && LWIP_UDP */
|
||||||
|
|
||||||
#endif /* LWIP_HDR_ZEPIF_H */
|
#endif /* LWIP_HDR_ZEPIF_H */
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
#include "netif/zepif.h"
|
#include "netif/zepif.h"
|
||||||
|
|
||||||
#if LWIP_IPV6
|
#if LWIP_IPV6 && LWIP_UDP
|
||||||
|
|
||||||
#include "netif/lowpan6.h"
|
#include "netif/lowpan6.h"
|
||||||
#include "lwip/udp.h"
|
#include "lwip/udp.h"
|
||||||
@ -297,4 +297,4 @@ err_ret:
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* LWIP_IPV6 */
|
#endif /* LWIP_IPV6 && LWIP_UDP */
|
||||||
|
Loading…
Reference in New Issue
Block a user