From 5d04df7afc6a059245c42f3556e03ebb03f379d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teppo=20J=C3=A4rvelin?= Date: Tue, 5 Mar 2019 12:19:25 +0200 Subject: [PATCH] Fix lwip to compile if MBED_CONF_LWIP_DEBUG_ENABLED is defined File features/lwipstack/lwip-sys/arch/cc.h fails to compile with error: 'MBED_NORETURN' does not name a type. Fix with adding correct include. --- features/lwipstack/lwip-sys/arch/cc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/features/lwipstack/lwip-sys/arch/cc.h b/features/lwipstack/lwip-sys/arch/cc.h index 619e144efd..2510a11cfc 100644 --- a/features/lwipstack/lwip-sys/arch/cc.h +++ b/features/lwipstack/lwip-sys/arch/cc.h @@ -34,6 +34,7 @@ #include #include /* for size_t */ +#include "mbed_toolchain.h" #if LWIP_USE_EXTERNAL_MBEDTLS #include "mbedtls/md5.h"