Author: jmmv Date: Wed Mar 19 13:10:25 2014 New Revision: 263362 URL: http://svnweb.freebsd.org/changeset/base/263362
Log: Include strings.h so that bpf_filter.c can be built in userland. This is to bring in a definition for bzero(3), which in turn allows the tests in tools/regression/bpf/ to build again. Modified: head/sys/net/bpf_filter.c Modified: head/sys/net/bpf_filter.c ============================================================================== --- head/sys/net/bpf_filter.c Wed Mar 19 13:09:38 2014 (r263361) +++ head/sys/net/bpf_filter.c Wed Mar 19 13:10:25 2014 (r263362) @@ -39,6 +39,9 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> +#if !defined(_KERNEL) +#include <strings.h> +#endif #if !defined(_KERNEL) || defined(sun) #include <netinet/in.h> #endif _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"