summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-04-12 00:26:32 +0200
committerJan Beich <jbeich@FreeBSD.org>2022-04-12 00:26:37 +0200
commitd13e48e0024a81d6d13251447aad5b2f03743cf3 (patch)
treee5d64a3c8f17ec99b8acc313f11cde670d590ec1
parentMerge pull request #8180 from liamwhite/symbols (diff)
downloadyuzu-d13e48e0024a81d6d13251447aad5b2f03743cf3.tar
yuzu-d13e48e0024a81d6d13251447aad5b2f03743cf3.tar.gz
yuzu-d13e48e0024a81d6d13251447aad5b2f03743cf3.tar.bz2
yuzu-d13e48e0024a81d6d13251447aad5b2f03743cf3.tar.lz
yuzu-d13e48e0024a81d6d13251447aad5b2f03743cf3.tar.xz
yuzu-d13e48e0024a81d6d13251447aad5b2f03743cf3.tar.zst
yuzu-d13e48e0024a81d6d13251447aad5b2f03743cf3.zip
-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 {