Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/libpcap/dist make sure we don't accidentally co...



details:   https://anonhg.NetBSD.org/src/rev/1105fbf08dc0
branches:  trunk
changeset: 993341:1105fbf08dc0
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Sep 05 17:10:07 2018 +0000

description:
make sure we don't accidentally compile this file.

diffstat:

 external/bsd/libpcap/dist/bpf_filter.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r a9830d113561 -r 1105fbf08dc0 external/bsd/libpcap/dist/bpf_filter.c
--- a/external/bsd/libpcap/dist/bpf_filter.c    Wed Sep 05 12:49:55 2018 +0000
+++ b/external/bsd/libpcap/dist/bpf_filter.c    Wed Sep 05 17:10:07 2018 +0000
@@ -38,6 +38,8 @@
  *     @(#)bpf.c       7.5 (Berkeley) 7/15/91
  */
 
+#error "We are using the kernel version of this file"
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif



Home | Main Index | Thread Index | Old Index