getifaddrs: Fix building on systems without IFF_SLAVE.

This commit is contained in:
Justin Maggard 2014-02-03 11:57:34 -08:00
parent 582dd80f3b
commit 67fd1fe45a

View File

@ -52,6 +52,9 @@
# else
# include <net/if_dl.h>
# endif
# ifndef IFF_SLAVE
# define IFF_SLAVE 0
# endif
#endif
#ifdef HAVE_NETLINK
# include <linux/rtnetlink.h>