diff --git a/usr.sbin/pppctl/Makefile b/usr.sbin/pppctl/Makefile index c20adadf8183..718d2f764737 100644 --- a/usr.sbin/pppctl/Makefile +++ b/usr.sbin/pppctl/Makefile @@ -3,8 +3,8 @@ PROG= pppctl SRCS= pppctl.c CFLAGS+=-Wall -LDADD+= -ledit -ltermcap -lutil -DPADD+= ${LIBEDIT} ${LIBTERMCAP} ${LIBUTIL} +LDADD+= -ledit -ltermcap +DPADD+= ${LIBEDIT} ${LIBTERMCAP} MAN8= pppctl.8 .include diff --git a/usr.sbin/pppctl/pppctl.c b/usr.sbin/pppctl/pppctl.c index ef6b4143fbb6..f6cced64cf8f 100644 --- a/usr.sbin/pppctl/pppctl.c +++ b/usr.sbin/pppctl/pppctl.c @@ -38,9 +38,6 @@ #include #include #include -#ifdef __FreeBSD__ -#include -#endif #include #include #include