Fix NetBSD compilation errors.
This commit is contained in:
parent
44b15b18c9
commit
9cc52b362c
|
@ -55,10 +55,6 @@
|
|||
#include "winnt.h"
|
||||
#include "wscontrol.h"
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#undef if_type
|
||||
#endif
|
||||
|
||||
/* FIXME: The rest of the socket() cdecl<->stdapi stack corruption problem
|
||||
* discussed above.
|
||||
*/
|
||||
|
|
|
@ -103,6 +103,11 @@ typedef struct IPAddrEntry
|
|||
ushort iae_pad;
|
||||
} IPAddrEntry;
|
||||
|
||||
#ifdef __NetBSD__
|
||||
#undef if_type
|
||||
#undef if_mtu
|
||||
#undef if_lastchange
|
||||
#endif
|
||||
|
||||
#define MAX_PHYSADDR_SIZE 8
|
||||
#define MAX_IFDESCR_LEN 256
|
||||
|
|
Loading…
Reference in New Issue