forked from suyu/suyu
Merge pull request #8196 from jbeich/freebsd
service: sfdnsres: unbreak build on FreeBSD
This commit is contained in:
commit
fc258f1d7a
1 changed files with 4 additions and 0 deletions
|
@ -18,7 +18,11 @@
|
|||
#elif YUZU_UNIX
|
||||
#include <arpa/inet.h>
|
||||
#include <netdb.h>
|
||||
#include <netinet/in.h>
|
||||
#include <sys/socket.h>
|
||||
#ifndef EAI_NODATA
|
||||
#define EAI_NODATA EAI_NONAME
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace Service::Sockets {
|
||||
|
|
Loading…
Reference in a new issue