svn commit: r263362 - head/sys/net
Julio Merino
jmmv at FreeBSD.org
Wed Mar 19 13:10:26 UTC 2014
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
More information about the svn-src-all
mailing list