Compile when using -no-feature-networkinterface

Change-Id: I12a808599dd1fecaebc2e85a96da27a044666009
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
This commit is contained in:
Andy Shaw 2018-04-05 13:05:15 +02:00
parent 9899c29daf
commit 99e52d89fe

View File

@ -41,6 +41,8 @@
#include "qnetworkinterface_p.h"
#include "qnetworkinterface_unix_p.h"
#ifndef QT_NO_NETWORKINTERFACE
#include <qendian.h>
#include <qobjectdefs.h>
#include <qvarlengtharray.h>
@ -448,3 +450,5 @@ QList<QNetworkInterfacePrivate *> QNetworkInterfaceManager::scan()
}
QT_END_NAMESPACE
#endif // QT_NO_NETWORKINTERFACE