Closed Gouster4 closed 5 months ago
Fix for this error: error: use of undeclared identifier 'INADDR_ANY' addr.sin_addr.s_addr = htonl(INADDR_ANY);
Fixes building on FreeBSD, and doesnt break building on Linux.
Including netinet/in.h brings INADDR_ANY definition.
Thanks for the contribution
Fix for this error: error: use of undeclared identifier 'INADDR_ANY' addr.sin_addr.s_addr = htonl(INADDR_ANY);
Fixes building on FreeBSD, and doesnt break building on Linux.
Including netinet/in.h brings INADDR_ANY definition.