svn commit: r194270 - in stable/7/sys: . contrib/pf dev/ath/ath_hal netgraph

George V. Neville-Neil gnn at FreeBSD.org
Mon Jun 15 22:07:22 UTC 2009


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 */


More information about the svn-src-all mailing list