Build with the LSB build env
LSB doesn't define some functionality that we expect on Linux, so fall back to the generic code. Change-Id: I19e09908b9e9002140535f159ae0745d7ca80b70 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d29d4c2afa
commit
44159a0b3b
@ -57,6 +57,10 @@
|
||||
#endif
|
||||
#include <net/if.h>
|
||||
|
||||
#if defined(QT_LINUXBASE)
|
||||
# define QT_NO_GETIFADDRS
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_GETIFADDRS
|
||||
# include <ifaddrs.h>
|
||||
#endif
|
||||
@ -283,7 +287,7 @@ QT_BEGIN_INCLUDE_NAMESPACE
|
||||
QT_END_INCLUDE_NAMESPACE
|
||||
# endif
|
||||
|
||||
# if defined(Q_OS_LINUX) && __GLIBC__ - 0 >= 2 && __GLIBC_MINOR__ - 0 >= 1
|
||||
# if defined(Q_OS_LINUX) && __GLIBC__ - 0 >= 2 && __GLIBC_MINOR__ - 0 >= 1 && !defined(QT_LINUXBASE)
|
||||
# include <netpacket/packet.h>
|
||||
|
||||
static QList<QNetworkInterfacePrivate *> createInterfaces(ifaddrs *rawList)
|
||||
|
Loading…
Reference in New Issue
Block a user