summaryrefslogtreecommitdiffstats
path: root/secure/usr.sbin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-05-13 13:47:45 +0000
committerdes <des@FreeBSD.org>2006-05-13 13:47:45 +0000
commit148092431d1700e589fcbead33eda45aeb88731d (patch)
tree74ec58d937814ef5ae4b74379961ddfd2a9fc64e /secure/usr.sbin
parent18f5285192dd391a2cc7a50f73bf1f90664fce6b (diff)
downloadFreeBSD-src-148092431d1700e589fcbead33eda45aeb88731d.zip
FreeBSD-src-148092431d1700e589fcbead33eda45aeb88731d.tar.gz
Introduce a namespace munging hack inspired by NetBSD to avoid polluting
the namespace of applications which inadvertantly link in libssh (usually through pam_ssh) Suggested by: lukem@netbsd.org MFC after: 6 weeks
Diffstat (limited to 'secure/usr.sbin')
-rw-r--r--secure/usr.sbin/sshd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 7567505..2ae483f 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -20,7 +20,7 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
# gss-genr.c really belongs in libssh; see src/secure/lib/libssh/Makefile
MAN= sshd.8 sshd_config.5
-CFLAGS+=-I${SSHDIR}
+CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM}
OpenPOWER on IntegriCloud