On NetBSD if_type is defined as a macro in /usr/include/net/if.h.
Undefine it to avoid a conflict.
This commit is contained in:
parent
284a78f5cc
commit
3f7e282762
|
@ -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. */
|
||||
|
|
Loading…
Reference in New Issue