Make this compile if pam is present. XXX: this sucks, because we don't
really use PAM here, but libtelnet needs it.
This commit is contained in:
parent
a6d2304b90
commit
66e1a2c606
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.35 2005/01/10 02:58:59 lukem Exp $
|
||||
# $NetBSD: Makefile,v 1.36 2005/02/19 23:28:41 christos Exp $
|
||||
#
|
||||
# Copyright (c) 1990 The Regents of the University of California.
|
||||
# All rights reserved.
|
||||
@ -70,6 +70,11 @@ LDADD+= -lkrb
|
||||
DPADD+= ${LIBKRB}
|
||||
.endif
|
||||
|
||||
.if (${USE_PAM} != "no")
|
||||
LDADD+= -lpam
|
||||
DPADD+= ${LIBPAM}
|
||||
.endif
|
||||
|
||||
LDADD+= -ldes -lcom_err -lroken
|
||||
DPADD+= ${LIBDES} ${LIBCOM_ERR} ${LIBROKEN}
|
||||
.endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: terminal.c,v 1.14 2004/03/20 23:26:05 heas Exp $ */
|
||||
/* $NetBSD: terminal.c,v 1.15 2005/02/19 23:28:41 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1990, 1993
|
||||
@ -34,7 +34,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)terminal.c 8.2 (Berkeley) 2/16/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: terminal.c,v 1.14 2004/03/20 23:26:05 heas Exp $");
|
||||
__RCSID("$NetBSD: terminal.c,v 1.15 2005/02/19 23:28:41 christos Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -52,6 +52,7 @@ __RCSID("$NetBSD: terminal.c,v 1.14 2004/03/20 23:26:05 heas Exp $");
|
||||
|
||||
Ring ttyoring, ttyiring;
|
||||
unsigned char ttyobuf[2*BUFSIZ], ttyibuf[BUFSIZ];
|
||||
char line[] = { '\0' };
|
||||
|
||||
int termdata; /* Debugging flag */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user