fix when linux/if.h and net/if.h are both available.

This commit is contained in:
gardners 2013-05-15 16:10:42 +09:30
parent 2d0bb3fa4b
commit be9edef211

2
lsif.c
View File

@ -51,7 +51,9 @@
#if __MACH__
#include <net/if_dl.h>
#endif
#ifndef HAVE_LINUX_IF_H
#include <net/if.h>
#endif
/* On platforms that have variable length
ifreq use the old fixed length interface instead */