lwip: Include coap_config.h in lwippools.h

config includes can't be handled with the usual strictness ("No config
includes in public header files", notwithstanding discussion of whether
lwippools is one) because the lwip compilation unit for the memory pools
needs to know about the configured sizeof the various CoAP objects.
This commit is contained in:
chrysn authored and Olaf Bergmann committed 2016-06-22 12:36:47 +02:00
1 parent 0f3be6128b
commit 816d37d402
1 file changed
+1
+1
View File
@@ -9,6 +9,7 @@
* include this or include something more generic which includes this), and
* MEMP_USE_CUSTOM_POOLS has to be set in lwipopts.h. */
#include "coap_config.h"
#include <net.h>
#include <resource.h>
#include <subscribe.h>