diff --git a/usr.sbin/pppctl/Makefile b/usr.sbin/pppctl/Makefile index 95aa8ed9246..45495d675f7 100644 --- a/usr.sbin/pppctl/Makefile +++ b/usr.sbin/pppctl/Makefile @@ -3,7 +3,7 @@ PROG= pppctl SRCS= pppctl.c CFLAGS+=-Wall -LDADD+= -pthread -ledit -ltermcap +LDADD+= -lc_r -ledit -ltermcap DPADD+= ${LIBC_R} ${LIBEDIT} ${LIBTERMCAP} MAN8= pppctl.8