diff options
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r-- | lib/libpcap/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 4b81ceb..6863573 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -10,7 +10,7 @@ SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \ pcap.c inet.c fad-getad.c gencode.c optimize.c nametoaddr.c \ etherent.c savefile.c bpf_filter.c bpf_image.c bpf_dump.c \ scanner.l version.c -INCS= pcap.h pcap-int.h pcap-namedb.h +INCS= pcap.h pcap-int.h pcap-namedb.h pcap-bpf.h MAN= pcap.3 CLEANFILES=tokdefs.h version.h version.c @@ -22,6 +22,9 @@ CFLAGS+=-DHAVE_SNPRINTF -DHAVE_VSNPRINTF .if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DINET6 .endif +.if ${MK_PF} != "no" +CFLAGS+=-DHAVE_NET_PFVAR_H +.endif SHLIB_MAJOR=5 |