Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Fix the bpfjit build.



details:   https://anonhg.NetBSD.org/src/rev/3e08106a1884
branches:  trunk
changeset: 791387:3e08106a1884
user:      rmind <rmind%NetBSD.org@localhost>
date:      Fri Nov 15 13:56:21 2013 +0000

description:
Fix the bpfjit build.

diffstat:

 sys/net/bpfjit.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r ad8fc5bc0419 -r 3e08106a1884 sys/net/bpfjit.c
--- a/sys/net/bpfjit.c  Fri Nov 15 11:48:30 2013 +0000
+++ b/sys/net/bpfjit.c  Fri Nov 15 13:56:21 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bpfjit.c,v 1.4 2013/11/15 00:12:44 rmind Exp $ */
+/*     $NetBSD: bpfjit.c,v 1.5 2013/11/15 13:56:21 rmind Exp $ */
 
 /*-
  * Copyright (c) 2011-2012 Alexander Nasonov.
@@ -31,9 +31,9 @@
 
 #include <sys/cdefs.h>
 #ifdef _KERNEL
-__KERNEL_RCSID(0, "$NetBSD: bpfjit.c,v 1.4 2013/11/15 00:12:44 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bpfjit.c,v 1.5 2013/11/15 13:56:21 rmind Exp $");
 #else
-__RCSID("$NetBSD: bpfjit.c,v 1.4 2013/11/15 00:12:44 rmind Exp $");
+__RCSID("$NetBSD: bpfjit.c,v 1.5 2013/11/15 13:56:21 rmind Exp $");
 #endif
 
 #include <sys/types.h>
@@ -63,6 +63,8 @@
 #include <sys/module.h>
 #endif
 
+#define        __BPF_PRIVATE
+#include <net/bpf.h>
 #include <net/bpfjit.h>
 #include <sljitLir.h>
 



Home | Main Index | Thread Index | Old Index