summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep/netbsd/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/netbsd/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/netbsd/Makefile.sysdep')
-rw-r--r--sbin/isakmpd/sysdep/netbsd/Makefile.sysdep3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep b/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep
index 8813a9227d8..635aad52e8d 100644
--- a/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep
+++ b/sbin/isakmpd/sysdep/netbsd/Makefile.sysdep
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sysdep,v 1.6 2001/06/29 22:18:59 itojun Exp $
+# $OpenBSD: Makefile.sysdep,v 1.7 2001/08/13 14:33:35 itojun Exp $
#
# Copyright (c) 1999 Niklas Hallqvist. All rights reserved.
@@ -40,6 +40,7 @@ LDADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a -lipsec
DPADD+= ${LIBGMP} ${LIBSYSDEPDIR}/libsysdep.a ${LIBIPSEC}
CFLAGS+= -DNO_RSA -DNO_IDEA -DNO_RC5 -DHAVE_GETNAMEINFO \
+ -DHAVE_GETIFADDRS \
-I${.CURDIR}/sysdep/common
.if exists(/usr/pkg/include/openssl/rsa.h)
CFLAGS+= -I/usr/pkg/include/openssl