Haiku: Make network module compile on Haiku

Add the missing definition for IFF_RUNNING like
documented on http://ports.haiku-files.org/wiki/CommonProblems

Change-Id: Iea3fa224dc8e7e1e36674026efbb28289d2efa2a
Reviewed-by: Augustin Cavalier <waddlesplash@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Tobias Koenig 2014-12-16 11:10:26 +00:00
parent ce84a1bde3
commit ab1b1afb83

View File

@ -58,6 +58,11 @@
# define QT_NO_IPV6IFNAME
#endif
#ifdef Q_OS_HAIKU
# include <sys/sockio.h>
# define IFF_RUNNING 0x0001
#endif
#ifndef QT_NO_GETIFADDRS
# include <ifaddrs.h>
#endif