This doesn't fix any particular bug, just to meet best practices. Although including some LWIP headers from C++ files may have caused linker issues.