ITADN

Fix building on freebsd

#67Pull RequestGouster4 创建于 2024-06-03
G
Gouster4commented
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.
合并状态:未合并 关闭于 2024-06-04 1 条评论