Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2013 19:49:03 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257135 - head/sys/net
Message-ID:  <201310251949.r9PJn3Xd004987@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Fri Oct 25 19:49:03 2013
New Revision: 257135
URL: http://svnweb.freebsd.org/changeset/base/257135

Log:
  vnet.h needs to be included before raw_cb.h. Now it compiles due to
  pollution via if_var.h.

Modified:
  head/sys/net/raw_cb.c
  head/sys/net/raw_usrreq.c

Modified: head/sys/net/raw_cb.c
==============================================================================
--- head/sys/net/raw_cb.c	Fri Oct 25 19:46:52 2013	(r257134)
+++ head/sys/net/raw_cb.c	Fri Oct 25 19:49:03 2013	(r257135)
@@ -44,8 +44,8 @@
 #include <sys/systm.h>
 
 #include <net/if.h>
-#include <net/raw_cb.h>
 #include <net/vnet.h>
+#include <net/raw_cb.h>
 
 /*
  * Routines to manage the raw protocol control blocks.

Modified: head/sys/net/raw_usrreq.c
==============================================================================
--- head/sys/net/raw_usrreq.c	Fri Oct 25 19:46:52 2013	(r257134)
+++ head/sys/net/raw_usrreq.c	Fri Oct 25 19:49:03 2013	(r257135)
@@ -46,8 +46,8 @@
 #include <sys/systm.h>
 
 #include <net/if.h>
-#include <net/raw_cb.h>
 #include <net/vnet.h>
+#include <net/raw_cb.h>
 
 MTX_SYSINIT(rawcb_mtx, &rawcb_mtx, "rawcb", MTX_DEF);
 



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