diff --git a/src/network/kernel/qhostaddress.cpp b/src/network/kernel/qhostaddress.cpp index 3c08717d11..56473e2982 100644 --- a/src/network/kernel/qhostaddress.cpp +++ b/src/network/kernel/qhostaddress.cpp @@ -44,7 +44,9 @@ #include "private/qipaddress_p.h" #include "qdebug.h" #if defined(Q_OS_WIN) -#include +# include +#else +# include #endif #include "qplatformdefs.h" #include "qstringlist.h" diff --git a/src/network/socket/qnativesocketengine_p.h b/src/network/socket/qnativesocketengine_p.h index a48fcfa769..67e7038e00 100644 --- a/src/network/socket/qnativesocketengine_p.h +++ b/src/network/socket/qnativesocketengine_p.h @@ -56,6 +56,7 @@ #include "private/qabstractsocketengine_p.h" #ifndef Q_OS_WIN # include "qplatformdefs.h" +# include #else # include #endif