Fix NetBSD compilation errors.

This commit is contained in:
Bang Jun-Young 2001-12-14 22:45:42 +00:00 committed by Alexandre Julliard
parent 44b15b18c9
commit 9cc52b362c
2 changed files with 5 additions and 4 deletions

View File

@ -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.
*/

View File

@ -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