svn commit: r185808 - head/sys/net
Bjoern A. Zeeb
bz at FreeBSD.org
Tue Dec 9 12:05:58 PST 2008
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>
More information about the svn-src-all
mailing list