From b8bc7b7c7159485aa3e0ae917435323b9fed4d29 Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sun, 1 Jan 2017 12:40:23 +0100 Subject: [PATCH] arch.h: Add #includes necessary for default implentation of LWIP_PLATFORM_DIAG and LWIP_PLATFORM_ASSERT --- src/include/lwip/arch.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/lwip/arch.h b/src/include/lwip/arch.h index d8b13a57..447d90bb 100644 --- a/src/include/lwip/arch.h +++ b/src/include/lwip/arch.h @@ -73,12 +73,16 @@ /** Platform specific diagnostic output */ #ifndef LWIP_PLATFORM_DIAG #define LWIP_PLATFORM_DIAG(x) do {printf x;} while(0) +#include +#include #endif /** Platform specific assertion handling */ #ifndef LWIP_PLATFORM_ASSERT #define LWIP_PLATFORM_ASSERT(x) do {printf("Assertion \"%s\" failed at line %d in %s\n", \ x, __LINE__, __FILE__); fflush(NULL); abort();} while(0) +#include +#include #endif /** Define this to 1 in arch/cc.h of your port if you do not want to