From 3f7e2827625cc30dcadb314e69719ffd4342f611 Mon Sep 17 00:00:00 2001 From: Bang Jun-Young Date: Wed, 9 May 2001 19:45:30 +0000 Subject: [PATCH] On NetBSD if_type is defined as a macro in /usr/include/net/if.h. Undefine it to avoid a conflict. --- dlls/wsock32/socket.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/wsock32/socket.c b/dlls/wsock32/socket.c index 40cdc673dda..f62b6412063 100644 --- a/dlls/wsock32/socket.c +++ b/dlls/wsock32/socket.c @@ -42,6 +42,9 @@ #endif #include +#ifdef __NetBSD__ +#undef if_type +#endif /* FIXME: The rest of the socket() cdecl<->stdapi stack corruption problem discussed above. */ -- 2.11.4.GIT