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:
parent
d562af40e6
commit
cd00449863
@ -29,6 +29,10 @@
|
||||
#include "byteorder.h"
|
||||
#include "mutex.h"
|
||||
|
||||
#ifdef MODULE_LOG
|
||||
#include "log.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user