summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2008-06-24 14:27:24 +0000
committerderaadt <deraadt@openbsd.org>2008-06-24 14:27:24 +0000
commitfbdcd1d586ba2ab95fe589ffa943ccc1eb51722e (patch)
tree7b1f0be79487eedff4dd84bb0b521d356b9c9ab0 /usr.bin/chpass
parentclarify tao's -a option; ok av fgsch (diff)
downloadwireguard-openbsd-fbdcd1d586ba2ab95fe589ffa943ccc1eb51722e.tar.xz
wireguard-openbsd-fbdcd1d586ba2ab95fe589ffa943ccc1eb51722e.zip
implement getpwnam_r() and getpwuid_r() -- very nearly a rewrite of the
entire file. much help from kurt, and tested by many
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 16348dee558..41dcc64e329 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2001/11/23 15:32:05 espie Exp $
+# $OpenBSD: Makefile,v 1.11 2008/06/24 14:27:26 deraadt Exp $
.include <bsd.own.mk>
@@ -10,7 +10,7 @@ BINMODE=4555
LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
.if (${YP:L} == "yes")
-CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp
+CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/yp -I${.CURDIR}/../../lib/libc/include
.endif
DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil