| commit | 3f7e2827625cc30dcadb314e69719ffd4342f611 | [log] [tgz] |
|---|---|---|
| author | Bang Jun-Young <bjy@mogua.org> | Wed May 09 19:45:30 2001 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Wed May 09 19:45:30 2001 +0000 |
| tree | 605e58525dcbb973ac859aca2863083b182c06ca | |
| parent | 284a78f5cc7bbf3ab60e9e7eda2fde6625ee4a39 [diff] |
On NetBSD if_type is defined as a macro in /usr/include/net/if.h. Undefine it to avoid a conflict.
diff --git a/dlls/wsock32/socket.c b/dlls/wsock32/socket.c index 40cdc67..f62b641 100644 --- a/dlls/wsock32/socket.c +++ b/dlls/wsock32/socket.c
@@ -42,6 +42,9 @@ #endif #include <errno.h> +#ifdef __NetBSD__ +#undef if_type +#endif /* FIXME: The rest of the socket() cdecl<->stdapi stack corruption problem discussed above. */