Include necessary head file for {get,rel}_mplock() to unbreak UP kernel build
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 24 Sep 2008 11:14:43 +0000 (11:14 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Wed, 24 Sep 2008 11:14:43 +0000 (11:14 +0000)
Pointed-out-by: y0netan1@
sys/net/if_ethersubr.c
sys/netinet/ip_input.c

index b822d92..00279a6 100644 (file)
@@ -32,7 +32,7 @@
  *
  *     @(#)if_ethersubr.c      8.1 (Berkeley) 6/10/93
  * $FreeBSD: src/sys/net/if_ethersubr.c,v 1.70.2.33 2003/04/28 15:45:53 archie Exp $
- * $DragonFly: src/sys/net/if_ethersubr.c,v 1.92 2008/09/23 13:12:06 sephe Exp $
+ * $DragonFly: src/sys/net/if_ethersubr.c,v 1.93 2008/09/24 11:14:43 sephe Exp $
  */
 
 #include "opt_atalk.h"
@@ -48,6 +48,7 @@
 #include <sys/globaldata.h>
 #include <sys/kernel.h>
 #include <sys/ktr.h>
+#include <sys/lock.h>
 #include <sys/malloc.h>
 #include <sys/mbuf.h>
 #include <sys/msgport.h>
index c43a949..11a09a5 100644 (file)
@@ -65,7 +65,7 @@
  *
  *     @(#)ip_input.c  8.2 (Berkeley) 1/4/94
  * $FreeBSD: src/sys/netinet/ip_input.c,v 1.130.2.52 2003/03/07 07:01:28 silby Exp $
- * $DragonFly: src/sys/netinet/ip_input.c,v 1.108 2008/09/23 11:28:49 sephe Exp $
+ * $DragonFly: src/sys/netinet/ip_input.c,v 1.109 2008/09/24 11:14:43 sephe Exp $
  */
 
 #define        _IP_VHL
@@ -93,6 +93,7 @@
 #include <sys/syslog.h>
 #include <sys/sysctl.h>
 #include <sys/in_cksum.h>
+#include <sys/lock.h>
 
 #include <machine/stdarg.h>