Pull in netinet/in.h. Required for definition of sockaddr_in and friends.
Change-Id: I3b1c7dc1c08ec54f5537b6019dc2554763538cfd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
This commit is contained in:
parent
f02acb8bfc
commit
d1e8d9a347
@ -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"
|
||||
|
@ -56,6 +56,7 @@
|
||||
#include "private/qabstractsocketengine_p.h"
|
||||
#ifndef Q_OS_WIN
|
||||
# include "qplatformdefs.h"
|
||||
# include <netinet/in.h>
|
||||
#else
|
||||
# include <winsock2.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user