summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-08-13 14:33:36 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-08-13 14:33:36 +0000
commit23bfc638e92a88043673b111d2863490162c2e47 (patch)
tree1f41573c20d3e9ca39b47cc5d17ead023b93212f /sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
parent7558101cf54e3ecde54fbd01f31fa636c4fbf2ab (diff)
use getifaddrs(3) rather than SIOCGIFCONF. in fact, if_map() does not do
the right thing on certain set of interface addresses. SIOCGIFCONF is the worst possible ioctl API...
Diffstat (limited to 'sbin/isakmpd/sysdep/openbsd/Makefile.sysdep')
-rw-r--r--sbin/isakmpd/sysdep/openbsd/Makefile.sysdep4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep b/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
index 9eae1cd0586..3e2fbcfd722 100644
--- a/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
+++ b/sbin/isakmpd/sysdep/openbsd/Makefile.sysdep
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sysdep,v 1.18 2001/06/29 19:40:36 ho Exp $
+# $OpenBSD: Makefile.sysdep,v 1.19 2001/08/13 14:33:35 itojun Exp $
# $EOM: Makefile.sysdep,v 1.18 2001/01/26 10:55:22 niklas Exp $
#
@@ -37,7 +37,7 @@
IPSEC_SRCS= pf_key_v2.c
IPSEC_CFLAGS= -DUSE_PF_KEY_V2
-CFLAGS+= -Werror -DHAVE_GETNAMEINFO -DHAVE_PCAP
+CFLAGS+= -Werror -DHAVE_GETNAMEINFO -DHAVE_GETIFADDRS -DHAVE_PCAP
# Some OpenBSD systems do not provide dlopen(3).
#.if ${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "vax" && ${MACHINE_ARCH} != "m88k"