summaryrefslogtreecommitdiffstats
path: root/src/network/kernel/qnetworkinterface_win_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-06-24 13:01:27 -0700
committerThiago Macieira <thiago.macieira@intel.com>2014-06-25 20:21:43 +0200
commit329efea47ed47fe8c303550d34767e07f8a292e4 (patch)
tree56722c68abf2bce89539b732c0a27048deed4290 /src/network/kernel/qnetworkinterface_win_p.h
parent3f42e1a17128a218d1a0ca681ec6af97aa3e834a (diff)
Fix compilation on Windows without precompiled headers
qnetworkinterface_win_p.h needs to include at least one Qt header before it can use QT_BEGIN_NAMESPACE. That header is the first header in qnetworkinterface_win.cpp. Found when trying to compile Qt with ICC. Change-Id: Iaa312ff54243b6fb3beb107f0eda74f92c6e3ebb Reviewed-by: Richard J. Moore <rich@kde.org>
Diffstat (limited to 'src/network/kernel/qnetworkinterface_win_p.h')
-rw-r--r--src/network/kernel/qnetworkinterface_win_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/kernel/qnetworkinterface_win_p.h b/src/network/kernel/qnetworkinterface_win_p.h
index d6a3366316..23664647cf 100644
--- a/src/network/kernel/qnetworkinterface_win_p.h
+++ b/src/network/kernel/qnetworkinterface_win_p.h
@@ -53,6 +53,7 @@
// We mean it.
//
+#include <QtCore/qglobal.h>
#include <winsock2.h>
#include <qt_windows.h>
#include <time.h>