lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] lwip master, opt.h uses defines from ppp_opts.h


From: Dirk Ziegelmeier
Subject: Re: [lwip-devel] lwip master, opt.h uses defines from ppp_opts.h
Date: Mon, 27 Aug 2018 10:31:45 +0200

you can #include ppp_opts.h in your lwipopts.h file to fix this.

But I think this should be fixed in opt.h by #including ppp_opts.h

Dirk


On Mon, Aug 20, 2018 at 3:09 PM Jacob Kroon <address@hidden> wrote:
Hi,

In opt.h, the defined value for LWIP_NUM_SYS_TIMEOUT_INTERNAL uses
PPP_NUM_TIMEOUTS, which is defined in ppp_opts.h.
I have source code that (implicitly) includes opt.h, but somehow
ppp_opts.h never gets included before, which leads to compiler errors.

What is the intended solution, should users make sure to include
ppp_opts.h before opt.h, or should this be fixed in opt.h itself ?

Regards
Jacob

_______________________________________________
lwip-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-devel

reply via email to

[Prev in Thread] Current Thread [Next in Thread]