summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-04-12 05:58:35 +0200
committerGitHub <noreply@github.com>2022-04-12 05:58:35 +0200
commitfc258f1d7aa39870c3ca1bc1ab5850576a247d57 (patch)
treee5d64a3c8f17ec99b8acc313f11cde670d590ec1 /src/core/hle
parentMerge pull request #8180 from liamwhite/symbols (diff)
parentservice: sfdnsres: add missing includes for some BSDs after 82d46a974ad4 (diff)
downloadyuzu-fc258f1d7aa39870c3ca1bc1ab5850576a247d57.tar
yuzu-fc258f1d7aa39870c3ca1bc1ab5850576a247d57.tar.gz
yuzu-fc258f1d7aa39870c3ca1bc1ab5850576a247d57.tar.bz2
yuzu-fc258f1d7aa39870c3ca1bc1ab5850576a247d57.tar.lz
yuzu-fc258f1d7aa39870c3ca1bc1ab5850576a247d57.tar.xz
yuzu-fc258f1d7aa39870c3ca1bc1ab5850576a247d57.tar.zst
yuzu-fc258f1d7aa39870c3ca1bc1ab5850576a247d57.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/sockets/sfdnsres.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/sockets/sfdnsres.cpp b/src/core/hle/service/sockets/sfdnsres.cpp
index 2e5666ca8..a193fb578 100644
--- a/src/core/hle/service/sockets/sfdnsres.cpp
+++ b/src/core/hle/service/sockets/sfdnsres.cpp
@@ -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 {