1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg/lwip: include log.h if module log is used

If module log is used, log.h should be included. Otherwise, it might lead to compilation problems since LOG_ERROR macro isn't know in expansion of LWIP_PLATFORM_ASSERT macro.
This commit is contained in:
Gunar Schorcht 2019-03-10 12:47:31 +01:00
parent d562af40e6
commit cd00449863

View File

@ -29,6 +29,10 @@
#include "byteorder.h"
#include "mutex.h"
#ifdef MODULE_LOG
#include "log.h"
#endif
#ifdef __cplusplus
extern "C" {
#endif