Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2019-09-12 23:44:16 +0300
committerGitHub <noreply@github.com>2019-09-12 23:44:16 +0300
commita38d19a7595c3e672f5ed549400b36348e01e442 (patch)
tree34bd1c4db9b95748d263aea811e849dec7e5525c /src/HostAddress.cpp
parent713b92c3c233f8f38200c4a458e0196d3d39a3b0 (diff)
parent15831dbca85dd906edbad2bfff2b147527a456e2 (diff)
Merge PR #3644: Don't include PCH headers directly, add missing includes
Diffstat (limited to 'src/HostAddress.cpp')
-rw-r--r--src/HostAddress.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/HostAddress.cpp b/src/HostAddress.cpp
index f0b8ced07..6002cfa50 100644
--- a/src/HostAddress.cpp
+++ b/src/HostAddress.cpp
@@ -3,12 +3,23 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
-#include "murmur_pch.h"
-
#include "HostAddress.h"
#include "ByteSwap.h"
+#ifdef Q_OS_WIN
+# include "win.h"
+# include <winsock2.h>
+# include <ws2tcpip.h>
+#else
+# include <arpa/inet.h>
+# if defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
+# include <netinet/in.h>
+# include <sys/socket.h>
+# include <sys/types.h>
+# endif
+#endif
+
HostAddress::HostAddress() {
addr[0] = addr[1] = 0ULL;
}