summaryrefslogtreecommitdiff
path: root/lib/libpcap/Makefile
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-04-13 05:55:20 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-04-13 05:55:20 +0000
commitf54a169ac01105217cbf6e3dfa39f465f0bde571 (patch)
treec6354c1621d7169472859c9bdb894149a3b1ddd0 /lib/libpcap/Makefile
parentfc2670cdf1872aaf42bd92717b9f579232b8c450 (diff)
use getifaddrs, to avoid copmlicated align constraint in SIOCGIFCONF.
Diffstat (limited to 'lib/libpcap/Makefile')
-rw-r--r--lib/libpcap/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile
index 068f5346787..8b12773dd95 100644
--- a/lib/libpcap/Makefile
+++ b/lib/libpcap/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.11 1999/11/17 05:15:19 millert Exp $
+# $OpenBSD: Makefile,v 1.12 2000/04/13 05:55:19 itojun Exp $
# $NetBSD: Makefile,v 1.3 1996/05/10 21:54:24 cgd Exp $
LIB= pcap
@@ -15,7 +15,7 @@ MLINKS= pcap.3 pcap_open_live.3 pcap.3 pcap_open_offline.3 \
pcap.3 pcap_close.3 pcap.3 pcap_dump_close.3
DEFS= -DHAVE_SYS_IOCCOM_H -DHAVE_SYS_SOCKIO_H -DHAVE_ETHER_HOSTTON \
- -DHAVE_STRERROR -DHAVE_SOCKADDR_SA_LEN -DLBL_ALIGN
+ -DHAVE_STRERROR -DHAVE_SOCKADDR_SA_LEN -DLBL_ALIGN -DHAVE_IFADDRS_H
CFLAGS+=-I. -I${.CURDIR} -Dyylval=pcap_yylval ${DEFS}