diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-09-12 23:08:39 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2019-09-12 23:08:39 +0300 |
commit | 15831dbca85dd906edbad2bfff2b147527a456e2 (patch) | |
tree | 34bd1c4db9b95748d263aea811e849dec7e5525c /src/Connection.h | |
parent | e29897c784f546dc8c7150811994663818911608 (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/Connection.h')
-rw-r--r-- | src/Connection.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/Connection.h b/src/Connection.h index 307f98ef9..534d2b8e8 100644 --- a/src/Connection.h +++ b/src/Connection.h @@ -7,21 +7,29 @@ #define MUMBLE_CONNECTION_H_ #include <QtCore/QtGlobal> + +#ifdef Q_OS_WIN +# include "win.h" +#endif + +#include "CryptState.h" + #include <QtCore/QMutex> + #if QT_VERSION >= 0x040700 -#include <QtCore/QElapsedTimer> +# include <QtCore/QElapsedTimer> #else -#include <QtCore/QTime> +# include <QtCore/QTime> #endif + #include <QtCore/QList> #include <QtCore/QObject> #include <QtNetwork/QSslSocket> + #ifdef Q_OS_WIN -#include <windows.h> +# include <ws2tcpip.h> #endif -#include "CryptState.h" - namespace google { namespace protobuf { class Message; |