NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: if_type and sdl_type definitions in net/if_dl.h cause in WINE building



Frederic Fauberteau wrote:> -- patches/patch-dlls_nsiproxy.sys_ndis.c --------------------------------------
$NetBSD$

Fix errors due to {if,sdl}_type definition in net/if_dl.h.

--- dlls/nsiproxy.sys/ndis.c.orig 2022-01-21 20:02:16.886853181 +0000
+++ dlls/nsiproxy.sys/ndis.c
@@ -32,6 +32,8 @@

  #ifdef HAVE_NET_IF_H
  #include <net/if.h>
+#if defined(__NetBSD__)
+#undef if_type
  #endif

A #endif is missing but I fix that.


Home | Main Index | Thread Index | Old Index