From ffd45a2261f9ae82b85b7966bf5ae96ac1e6119c Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Fri, 10 Apr 2015 01:00:08 +0200 Subject: [PATCH] PPP, added new build dependencies in init.c --- src/core/init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/core/init.c b/src/core/init.c index 7c8c9d55..f74ff4bd 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -191,6 +191,12 @@ #if PPP_SUPPORT && !PPP_IPV4_SUPPORT && !PPP_IPV6_SUPPORT #error "PPP_SUPPORT needs PPP_IPV4_SUPPORT and/or PPP_IPV6_SUPPORT turned on" #endif +#if PPP_SUPPORT && PPP_IPV4_SUPPORT && !LWIP_IPV4 + #error "PPP_IPV4_SUPPORT needs LWIP_IPV4 turned on" +#endif +#if PPP_SUPPORT && PPP_IPV6_SUPPORT && !LWIP_IPV6 + #error "PPP_IPV6_SUPPORT needs LWIP_IPV6 turned on" +#endif #if !LWIP_ETHERNET && (LWIP_ARP || PPPOE_SUPPORT) #error "LWIP_ETHERNET needs to be turned on for LWIP_ARP or PPPOE_SUPPORT" #endif