[riot-notifications] [RIOT-OS/RIOT] pkg/lwip: include log.h if module log is used (#11148)

Gunar Schorcht notifications at github.com
Sun Mar 10 12:49:47 CET 2019


### Contribution description

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.

### Testing procedure

Just compile any `lwip` test application.
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/11148

-- Commit Summary --

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

-- File Changes --

    M pkg/lwip/include/arch/cc.h (4)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/11148.patch
https://github.com/RIOT-OS/RIOT/pull/11148.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190310/8bf37b9d/attachment.html>


More information about the notifications mailing list