Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2014 13:10:25 +0000 (UTC)
From:      Julio Merino <jmmv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263362 - head/sys/net
Message-ID:  <201403191310.s2JDAPVQ042927@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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