Make it simpler to build netgraph modules outside of the kernel source

tree.  This change follows similar ones in the device tree.

MFC after:	2 weeks
This commit is contained in:
George V. Neville-Neil 2008-06-24 18:49:49 +00:00
parent e6c78aec4f
commit a13c239b91
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=179973

View File

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