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:08:39 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2019-09-12 23:08:39 +0300
commit15831dbca85dd906edbad2bfff2b147527a456e2 (patch)
tree34bd1c4db9b95748d263aea811e849dec7e5525c /src/murmur/RPC.cpp
parente29897c784f546dc8c7150811994663818911608 (diff)
Add missing includes for "no-pch" build
This commit adds all the missing includes when the PCH header is not used. Also, some includes are reordered and/or made consistent (e.g. "#include <QtEndian>" -> "#include <QtCore/QtEndian>").
Diffstat (limited to 'src/murmur/RPC.cpp')
-rw-r--r--src/murmur/RPC.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/murmur/RPC.cpp b/src/murmur/RPC.cpp
index 9a4060cb6..f95604d9c 100644
--- a/src/murmur/RPC.cpp
+++ b/src/murmur/RPC.cpp
@@ -3,6 +3,12 @@
// that can be found in the LICENSE file at the root of the
// Mumble source tree or at <https://www.mumble.info/LICENSE>.
+#include <QtCore/QtGlobal>
+
+#ifdef Q_OS_WIN
+# include "win.h"
+#endif
+
#include "Channel.h"
#include "Group.h"
#include "Meta.h"
@@ -11,6 +17,10 @@
#include "ServerUser.h"
#include "Version.h"
+#ifdef Q_OS_WIN
+# include <winsock2.h>
+#endif
+
void Server::setUserState(User *pUser, Channel *cChannel, bool mute, bool deaf, bool suppressed, bool prioritySpeaker, const QString& name, const QString &comment) {
bool changed = false;