summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-04-14 13:30:08 +0000
committerjmmv <jmmv@FreeBSD.org>2014-04-14 13:30:08 +0000
commitd9b0a628da4b486dde00400305ad3a2ecefa0205 (patch)
tree70bd9eedb0e9eac2ac2cd3dcfc26f48adfd1ae7a /sys/net
parentbd8afe2477108733f19a3171f80f6c8d9daef3bf (diff)
downloadFreeBSD-src-d9b0a628da4b486dde00400305ad3a2ecefa0205.zip
FreeBSD-src-d9b0a628da4b486dde00400305ad3a2ecefa0205.tar.gz
MFC various fixes to the tools/regression/ tests.
- r262953 Fix m4 tests so that they run cleanly with prove. - r262954 Fix printf tests so that they run cleanly with prove. - r262959 Fix sed tests so that they run cleanly with prove. - r262960 Fix yacc tests so that they run cleanly with prove. - r262961 Fix pkill tests so that they run cleanly with prove. - r262962 Fix ncal tests so that they run cleanly with prove. - r263081 Fix lastcomm tests under amd64. - r263082 Only run the make tests when make is fmake. - r263083 Fix sa tests. - r263084 Turn a test precondition into a skip in the mdconfig tests. - r263085 Make the strerror tests work without libtap. - r263087 Remove broken tests for eui64_line. - r263221 Change etcupdate tests to return 1 on test failures. - r263352 Make the priv test program exit with non-zero if any failures are detected. - r263353 errx prepends the program name to the message; don't do it by hand. - r263362 Include strings.h so that bpf_filter.c can be built in userland.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf_filter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/bpf_filter.c b/sys/net/bpf_filter.c
index 672dfaa..40498a9 100644
--- a/sys/net/bpf_filter.c
+++ b/sys/net/bpf_filter.c
@@ -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
OpenPOWER on IntegriCloud