Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 22:07:21 +0000 (UTC)
From:      "George V. Neville-Neil" <gnn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r194270 - in stable/7/sys: . contrib/pf dev/ath/ath_hal netgraph
Message-ID:  <200906152207.n5FM7LPj003359@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gnn
Date: Mon Jun 15 22:07:21 2009
New Revision: 194270
URL: http://svn.freebsd.org/changeset/base/194270

Log:
  MFC of 179973
  
  Make it simpler to build netgraph modules outside of the kernel source
  tree.  This change follows similar ones in the device tree.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/netgraph/netgraph.h

Modified: stable/7/sys/netgraph/netgraph.h
==============================================================================
--- stable/7/sys/netgraph/netgraph.h	Mon Jun 15 21:55:29 2009	(r194269)
+++ stable/7/sys/netgraph/netgraph.h	Mon Jun 15 22:07:21 2009	(r194270)
@@ -54,7 +54,9 @@
 #include <sys/module.h>
 #include <sys/mutex.h>
 
+#ifdef HAVE_KERNEL_OPTION_HEADERS
 #include "opt_netgraph.h"
+#endif
 
 /* debugging options */
 #define NG_SEPARATE_MALLOC	/* make modules use their own malloc types */



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