mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 19:00:14 -05:00
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
|
#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 {
|
||||||
|
|
Loading…
Reference in a new issue