Fix build issue

pull/11586/head
Antti Kauppila 2019-10-11 15:25:50 +03:00
parent d34a40a745
commit 691fc5525d
2 changed files with 43 additions and 39 deletions

View File

@ -35,6 +35,7 @@
#include <stdint.h>
#include <stddef.h> /* for size_t */
#include "mbed_toolchain.h"
#include "lwipopts.h"
#ifdef __cplusplus
extern "C" {

View File

@ -71,7 +71,10 @@
#error "Either IPv4 or IPv6 must be preferred."
#endif
#define LWIP_DEBUG MBED_CONF_LWIP_DEBUG_ENABLED
#undef LWIP_DEBUG
#if MBED_CONF_LWIP_DEBUG_ENABLED
#define LWIP_DEBUG 1
#endif
#if NO_SYS == 0
#include "cmsis_os2.h"