* dlls/wsock32/socket.c, dlls/wsock32/wscontrol.h: Bang Jun-Young <junyoung@mogua.com> Fix NetBSD compilation errors. -- Bang Jun-Young <junyoung@mogua.com>
Index: dlls/wsock32/socket.c =================================================================== RCS file: /home/wine/wine/dlls/wsock32/socket.c,v retrieving revision 1.17 diff -u -r1.17 socket.c --- dlls/wsock32/socket.c 2001/11/19 02:23:22 1.17 +++ dlls/wsock32/socket.c 2001/12/13 14:14:20 @@ -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. */ Index: dlls/wsock32/wscontrol.h =================================================================== RCS file: /home/wine/wine/dlls/wsock32/wscontrol.h,v retrieving revision 1.3 diff -u -r1.3 wscontrol.h --- dlls/wsock32/wscontrol.h 2001/02/28 05:17:44 1.3 +++ dlls/wsock32/wscontrol.h 2001/12/13 14:14:20 @@ -103,6 +103,11 @@ 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