New code from lwip project

lwip-contrib repo:
1210a4d bugfix #35874 broke the unix SIO port by introducing a include define conflict between the stack and the port