Commit 9cc52b36 authored by Bang Jun-Young's avatar Bang Jun-Young Committed by Alexandre Julliard

Fix NetBSD compilation errors.

parent 44b15b18
...@@ -55,10 +55,6 @@ ...@@ -55,10 +55,6 @@
#include "winnt.h" #include "winnt.h"
#include "wscontrol.h" #include "wscontrol.h"
#ifdef __NetBSD__
#undef if_type
#endif
/* FIXME: The rest of the socket() cdecl<->stdapi stack corruption problem /* FIXME: The rest of the socket() cdecl<->stdapi stack corruption problem
* discussed above. * discussed above.
*/ */
......
...@@ -103,6 +103,11 @@ typedef struct IPAddrEntry ...@@ -103,6 +103,11 @@ typedef struct IPAddrEntry
ushort iae_pad; ushort iae_pad;
} IPAddrEntry; } IPAddrEntry;
#ifdef __NetBSD__
#undef if_type
#undef if_mtu
#undef if_lastchange
#endif
#define MAX_PHYSADDR_SIZE 8 #define MAX_PHYSADDR_SIZE 8
#define MAX_IFDESCR_LEN 256 #define MAX_IFDESCR_LEN 256
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment