Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2008 20:05:58 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r185808 - head/sys/net
Message-ID:  <200812092005.mB9K5wCr000460@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Tue Dec  9 20:05:58 2008
New Revision: 185808
URL: http://svn.freebsd.org/changeset/base/185808

Log:
  Add rwlock.h (and lock.h for that) to keep no-INET kernels compiling
  after RADIX_NODE_HEAD_{,UN}LOCK() were added.  Must have been "learned"
  by pollution before (most likely: route.h -> radix.h -> rwlock.h)

Modified:
  head/sys/net/if.c

Modified: head/sys/net/if.c
==============================================================================
--- head/sys/net/if.c	Tue Dec  9 19:44:53 2008	(r185807)
+++ head/sys/net/if.c	Tue Dec  9 20:05:58 2008	(r185808)
@@ -50,6 +50,8 @@
 #include <sys/socketvar.h>
 #include <sys/protosw.h>
 #include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/rwlock.h>
 #include <sys/sockio.h>
 #include <sys/syslog.h>
 #include <sys/sysctl.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812092005.mB9K5wCr000460>