mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 19:27:17 +00:00
Fix NetBSD compilation errors.
This commit is contained in:
parent
44b15b18c9
commit
9cc52b362c
|
@ -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
|
||||||
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
|
||||||
|
|
Loading…
Reference in a new issue