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:
Eskil Abrahamsen Blomfeldt 2014-06-27 15:54:01 +02:00
parent a57f3ee9bb
commit 190bb186ae

View File

@ -55,6 +55,10 @@
# endif
#endif
#ifdef Q_OS_ANDROID
# include <netinet/in.h>
#endif
class tst_QHostAddress : public QObject
{
Q_OBJECT