diff options
Diffstat (limited to 'src/Connection.cpp')
-rw-r--r-- | src/Connection.cpp | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/Connection.cpp b/src/Connection.cpp index 4c07c54de..885322e82 100644 --- a/src/Connection.cpp +++ b/src/Connection.cpp @@ -3,20 +3,22 @@ // 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" - -#ifdef Q_OS_UNIX -#include <sys/socket.h> -#include <sys/types.h> -#include <netinet/in.h> -#include <netinet/tcp.h> -#endif - #include "Connection.h" #include "Message.h" #include "SSL.h" #include "Mumble.pb.h" +#include <QtCore/QtEndian> +#include <QtNetwork/QHostAddress> + +#ifdef Q_OS_WIN +# include <qos2.h> +#else +# include <sys/socket.h> +# include <sys/types.h> +# include <netinet/in.h> +# include <netinet/tcp.h> +#endif #ifdef Q_OS_WIN HANDLE Connection::hQoS = NULL; |