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/e8c1062d39db
branches:  trunk
changeset: 433283:e8c1062d39db
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 0806d98c5231 -r e8c1062d39db 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