From 816d37d40218bdb794e058210a44ab23b1668db8 Mon Sep 17 00:00:00 2001 From: chrysn Date: Tue, 21 Jun 2016 18:57:28 +0200 Subject: [PATCH] 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. --- include/coap/lwippools.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/coap/lwippools.h b/include/coap/lwippools.h index d3a6cc86..0bfb3f52 100644 --- a/include/coap/lwippools.h +++ b/include/coap/lwippools.h @@ -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 #include #include