getifaddrs: Fix building on systems without IFF_SLAVE.
This commit is contained in:
parent
582dd80f3b
commit
67fd1fe45a
@ -52,6 +52,9 @@
|
|||||||
# else
|
# else
|
||||||
# include <net/if_dl.h>
|
# include <net/if_dl.h>
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef IFF_SLAVE
|
||||||
|
# define IFF_SLAVE 0
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_NETLINK
|
#ifdef HAVE_NETLINK
|
||||||
# include <linux/rtnetlink.h>
|
# include <linux/rtnetlink.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user