Android: Fix compilation of qhostaddress test
The sockaddr_in struct is defined in netinet/in.h header. Change-Id: I67a3421094c96a5e948968a26723ec8c21f85c93 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
parent
a57f3ee9bb
commit
190bb186ae
@ -55,6 +55,10 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
# include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
class tst_QHostAddress : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
Loading…
Reference in New Issue
Block a user