Fix RakNetSocket2 for iOS 6 (#115)

Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
This commit is contained in:
Brent
2024-01-23 08:37:29 -06:00
committed by GitHub
parent b24a230058
commit 68dad6ad9e
2 changed files with 144 additions and 39 deletions

View File

@@ -67,7 +67,9 @@ void DomainNameToIP_Berkley_IPV4And6(const char* domainName, char ip[65])
#endif // #if RAKNET_SUPPORT_IPV6==1
}
#if (defined(__GNUC__) || defined(__GCCXML__)) && !defined(__WIN32__)
#include <netdb.h>
#endif
void DomainNameToIP_Berkley_IPV4(const char* domainName, char ip[65])
{
static struct in_addr addr;