diff options
Diffstat (limited to 'src/network/kernel/qhostaddress.cpp')
-rw-r--r-- | src/network/kernel/qhostaddress.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 <winsock2.h> +# include <winsock2.h> +#else +# include <netinet/in.h> #endif #include "qplatformdefs.h" #include "qstringlist.h" |