aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Marti <joseluis.marti@gmail.com>2023-12-07 16:58:21 +0100
committerJose Luis Marti <joseluis.marti@gmail.com>2023-12-07 16:58:21 +0100
commita2853dab480a33b439032dace6f67e5b62db61e1 (patch)
treefca82092939f7d2056c8ce9cfcd5d6bdadf8e291
parent00fc14ae5e8a6b9ad627727291e4fb426639064f (diff)
include required for FreeBSD
-rw-r--r--xbmc/network/DNSNameCache.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/xbmc/network/DNSNameCache.cpp b/xbmc/network/DNSNameCache.cpp
index 5a334b8e8f..63fcfae9ed 100644
--- a/xbmc/network/DNSNameCache.cpp
+++ b/xbmc/network/DNSNameCache.cpp
@@ -24,6 +24,10 @@
#include <netdb.h>
#include <netinet/in.h>
+#if defined(TARGET_FREEBSD)
+#include <sys/socket.h>
+#endif
+
CDNSNameCache g_DNSCache;
CCriticalSection CDNSNameCache::m_critical;