summaryrefslogtreecommitdiff
path: root/lib/libpcap
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-15 20:45:52 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-15 20:45:52 +0000
commit4f9bc6c6b7d90dd654e63603252db0ff04a0c666 (patch)
treeaa343e6dde891da59d2e6dcb82bb87d9bb04653e /lib/libpcap
parentaa50d936fdb6948625177331f984c4a09ac03b0c (diff)
Notes
Diffstat (limited to 'lib/libpcap')
-rw-r--r--lib/libpcap/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index ae4c9caca2cd..ab0eeac171d3 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -11,7 +11,10 @@ CLEANFILES=tokdefs.h version.c
DEFS= -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 \
-DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 \
- -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1 -DINET6
+ -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1
+.if !defined(NOINET6)
+DEFS+= -DINET6
+.endif
CFLAGS+=-I. -Dyylval=pcap_lval ${DEFS}