Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/pf/pflogd don't include pcap/bpf.h



details:   https://anonhg.NetBSD.org/src/rev/95328b277db2
branches:  trunk
changeset: 772173:95328b277db2
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 21 22:18:43 2011 +0000

description:
don't include pcap/bpf.h

diffstat:

 usr.sbin/pf/pflogd/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ada9bd5cfd41 -r 95328b277db2 usr.sbin/pf/pflogd/Makefile
--- a/usr.sbin/pf/pflogd/Makefile       Wed Dec 21 19:27:47 2011 +0000
+++ b/usr.sbin/pf/pflogd/Makefile       Wed Dec 21 22:18:43 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2010/12/13 01:44:25 christos Exp $
+#      $NetBSD: Makefile,v 1.6 2011/12/21 22:18:43 christos Exp $
 #      $OpenBSD: Makefile,v 1.6 2003/11/20 23:23:09 avsm Exp $
 
 .include <bsd.own.mk>          # for MKDYNAMICROOT definition
@@ -6,6 +6,8 @@
 WARNS ?= 4
 CPPFLAGS+=-I${NETBSDSRCDIR}/dist/pf/sbin/pflogd
 CPPFLAGS+=-I${NETBSDSRCDIR}/external/bsd/libpcap/dist
+CPPFLAGS+=-DPCAP_DONT_INCLUDE_PCAP_BPF_H
+
 
 LDADD+= -lpcap -lutil
 DPAPP+=        ${LIBPCAP} ${LIBUTIL}



Home | Main Index | Thread Index | Old Index