Undef if_type, if_mtu and if_lastchange for darwin.
This commit is contained in:
parent
87c15681b2
commit
836ce4b3e8
|
@ -119,9 +119,13 @@ typedef struct IPAddrEntry
|
||||||
ushort iae_pad;
|
ushort iae_pad;
|
||||||
} IPAddrEntry;
|
} IPAddrEntry;
|
||||||
|
|
||||||
#ifdef __NetBSD__
|
#ifdef if_type
|
||||||
#undef if_type
|
#undef if_type
|
||||||
|
#endif
|
||||||
|
#ifdef if_mtu
|
||||||
#undef if_mtu
|
#undef if_mtu
|
||||||
|
#endif
|
||||||
|
#ifdef if_lastchange
|
||||||
#undef if_lastchange
|
#undef if_lastchange
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue