mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-09 07:54:38 +08:00

Fail to build if PPP_SUPPORT is disabled because PPP_NUM_TIMEOUTS references defines that are unknown if PPP_SUPPORT == 0. Move PPP_NUM_TIMEOUTS to PPP_SUPPORT block and set a default value to 0 if PPP_NUM_TIMEOUTS is still not defined at the end of ppp_opts.h. Fixes: e4e0fc419308 ("PPP: set PPP_NUM_TIMEOUTS_PER_PCB value to computed number of simultaneous timers") Signed-off-by: Sylvain Rochet <gradator@gradator.net>