Merge pull request #8196 from jbeich/freebsd

service: sfdnsres: unbreak build on FreeBSD
This commit is contained in:
bunnei 2022-04-11 20:58:35 -07:00 committed by GitHub
commit fc258f1d7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,11 @@
#elif YUZU_UNIX #elif YUZU_UNIX
#include <arpa/inet.h> #include <arpa/inet.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h> #include <sys/socket.h>
#ifndef EAI_NODATA
#define EAI_NODATA EAI_NONAME
#endif
#endif #endif
namespace Service::Sockets { namespace Service::Sockets {