svn commit: r257391 - in head/sys: dev/snc mips/nlm/dev/net
Sergey Kandaurov
pluknet at freebsd.org
Wed Oct 30 17:40:16 UTC 2013
On 30 October 2013 20:56, Andre Oppermann <andre at freebsd.org> wrote:
> Author: andre
> Date: Wed Oct 30 16:56:46 2013
> New Revision: 257391
> URL: http://svnweb.freebsd.org/changeset/base/257391
>
> Log:
> nclude missing net/if_var.h.
>
> Due to header pollution it wasn't noticed before.
>
> Modified:
> head/sys/dev/snc/dp83932.c
> head/sys/mips/nlm/dev/net/xlpge.c
>
> Modified: head/sys/dev/snc/dp83932.c
> ==============================================================================
> --- head/sys/dev/snc/dp83932.c Wed Oct 30 16:34:26 2013 (r257390)
> +++ head/sys/dev/snc/dp83932.c Wed Oct 30 16:56:46 2013 (r257391)
> @@ -74,6 +74,7 @@
>
> #include <net/ethernet.h>
> #include <net/if.h>
> +#include <net/if_var.h>
> #include <net/if_arp.h>
> #include <net/if_dl.h>
> #include <net/if_media.h>
>
> Modified: head/sys/mips/nlm/dev/net/xlpge.c
> ==============================================================================
> --- head/sys/mips/nlm/dev/net/xlpge.c Wed Oct 30 16:34:26 2013 (r257390)
> +++ head/sys/mips/nlm/dev/net/xlpge.c Wed Oct 30 16:56:46 2013 (r257391)
> @@ -47,6 +47,7 @@ __FBSDID("$FreeBSD$");
> #include <sys/taskqueue.h>
>
> #include <net/if.h>
> +#include <net/if_var.h>
> #include <net/if_arp.h>
> #include <net/ethernet.h>
> #include <net/if_dl.h>
To complete TARGET=pc98 KERNCONF=GENERIC crossbuild,
I had to apply also this change:
Index: sys/dev/snc/if_snc.c
===================================================================
--- sys/dev/snc/if_snc.c (revision 257391)
+++ sys/dev/snc/if_snc.c (working copy)
@@ -48,6 +48,7 @@ __FBSDID("$FreeBSD$");
#include <net/if.h>
#include <net/if_arp.h>
#include <net/if_media.h>
+#include <net/if_var.h>
#include <dev/snc/dp83932reg.h>
#include <dev/snc/dp83932var.h>
Index: sys/dev/snc/if_snc_pccard.c
===================================================================
--- sys/dev/snc/if_snc_pccard.c (revision 257391)
+++ sys/dev/snc/if_snc_pccard.c (working copy)
@@ -41,6 +41,8 @@ __FBSDID("$FreeBSD$");
#include <sys/systm.h>
#include <sys/socket.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
#include <sys/module.h>
#include <sys/bus.h>
--
wbr,
pluknet
More information about the svn-src-all
mailing list