svn commit: r257420 - in head/sys/mips: adm5120 idt rmi/dev/nlge
Mark Johnston
markj at FreeBSD.org
Thu Oct 31 05:00:51 UTC 2013
Author: markj
Date: Thu Oct 31 05:00:50 2013
New Revision: 257420
URL: http://svnweb.freebsd.org/changeset/base/257420
Log:
Fix some lingering build failures caused by fixing implicit inclusion of
if_var.h. Also explicitly include lock.h and mutex.h in if_kr.c rather than
depending on if_var.h to bring them in.
Modified:
head/sys/mips/adm5120/if_admsw.c
head/sys/mips/idt/if_kr.c
head/sys/mips/rmi/dev/nlge/if_nlge.c
Modified: head/sys/mips/adm5120/if_admsw.c
==============================================================================
--- head/sys/mips/adm5120/if_admsw.c Thu Oct 31 03:23:25 2013 (r257419)
+++ head/sys/mips/adm5120/if_admsw.c Thu Oct 31 05:00:50 2013 (r257420)
@@ -98,6 +98,7 @@ __FBSDID("$FreeBSD$");
#include <net/if_media.h>
#include <net/if_mib.h>
#include <net/if_types.h>
+#include <net/if_var.h>
#ifdef INET
#include <netinet/in.h>
Modified: head/sys/mips/idt/if_kr.c
==============================================================================
--- head/sys/mips/idt/if_kr.c Thu Oct 31 03:23:25 2013 (r257419)
+++ head/sys/mips/idt/if_kr.c Thu Oct 31 05:00:50 2013 (r257420)
@@ -40,7 +40,9 @@ __FBSDID("$FreeBSD$");
#include <sys/mbuf.h>
#include <sys/malloc.h>
#include <sys/kernel.h>
+#include <sys/lock.h>
#include <sys/module.h>
+#include <sys/mutex.h>
#include <sys/socket.h>
#include <sys/taskqueue.h>
@@ -50,6 +52,7 @@ __FBSDID("$FreeBSD$");
#include <net/if_dl.h>
#include <net/if_media.h>
#include <net/if_types.h>
+#include <net/if_var.h>
#include <net/bpf.h>
Modified: head/sys/mips/rmi/dev/nlge/if_nlge.c
==============================================================================
--- head/sys/mips/rmi/dev/nlge/if_nlge.c Thu Oct 31 03:23:25 2013 (r257419)
+++ head/sys/mips/rmi/dev/nlge/if_nlge.c Thu Oct 31 05:00:50 2013 (r257420)
@@ -78,6 +78,7 @@ __FBSDID("$FreeBSD$");
#include <net/if_media.h>
#include <net/bpf.h>
#include <net/if_types.h>
+#include <net/if_var.h>
#include <net/if_vlan_var.h>
#include <netinet/in_systm.h>
More information about the svn-src-all
mailing list