diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pppd/Makefile | 14 | ||||
-rw-r--r-- | usr.sbin/pppd/options.c | 4 |
2 files changed, 17 insertions, 1 deletions
diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile new file mode 100644 index 0000000..a0ca52e --- /dev/null +++ b/usr.sbin/pppd/Makefile @@ -0,0 +1,14 @@ +# From: Id: Makefile.bsd,v 1.4 1994/04/20 00:07:50 paulus Exp +# $Id$ + +PROG= pppd +SRCS= main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c \ + auth.c options.c lock.c sys-bsd.c +MAN8= pppd.8 +BINMODE=4555 +BINOWN= root + +LDADD= -lcrypt -lutil +DPADD= ${LIBCRYPT} ${LIBUTIL} + +.include <bsd.prog.mk> diff --git a/usr.sbin/pppd/options.c b/usr.sbin/pppd/options.c index ef1fc8a..0656128 100644 --- a/usr.sbin/pppd/options.c +++ b/usr.sbin/pppd/options.c @@ -25,7 +25,9 @@ static char rcsid[] = "$Id: options.c,v 1.10 1994/05/27 00:43:34 paulus Exp $"; #include <errno.h> #include <unistd.h> #include <limits.h> +#define devname STDLIB_devname #include <stdlib.h> +#undef devname #include <termios.h> #include <syslog.h> #include <string.h> @@ -53,7 +55,7 @@ char *strdup __ARGS((char *)); #endif #ifndef GIDSET_TYPE -#define GIDSET_TYPE int +#define GIDSET_TYPE gid_t #endif /* |