Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/login Only include Kerberos 4 headers when compiling...
details: https://anonhg.NetBSD.org/src/rev/908edb76d54f
branches: trunk
changeset: 572151:908edb76d54f
user: lha <lha%NetBSD.org@localhost>
date: Wed Dec 22 01:28:56 2004 +0000
description:
Only include Kerberos 4 headers when compiling in a Kerberos enviroment
>From Jukka Salmi in NetBSD PR misc/28727
diffstat:
usr.bin/login/k5login.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 5dedb7fc3d2d -r 908edb76d54f usr.bin/login/k5login.c
--- a/usr.bin/login/k5login.c Wed Dec 22 01:25:05 2004 +0000
+++ b/usr.bin/login/k5login.c Wed Dec 22 01:28:56 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: k5login.c,v 1.24 2003/08/07 11:14:24 agc Exp $ */
+/* $NetBSD: k5login.c,v 1.25 2004/12/22 01:28:56 lha Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -51,14 +51,16 @@
#if 0
static char sccsid[] = "@(#)klogin.c 5.11 (Berkeley) 7/12/92";
#endif
-__RCSID("$NetBSD: k5login.c,v 1.24 2003/08/07 11:14:24 agc Exp $");
+__RCSID("$NetBSD: k5login.c,v 1.25 2004/12/22 01:28:56 lha Exp $");
#endif /* not lint */
#ifdef KERBEROS5
#include <sys/param.h>
#include <sys/syslog.h>
#include <krb5/krb5.h>
+#ifdef KERBEROS
#include <kerberosIV/krb.h>
+#endif
#include <pwd.h>
#include <netdb.h>
#include <stdio.h>
Home |
Main Index |
Thread Index |
Old Index