1 $NetBSD: patch-am,v 1.6 2000/01/23 00:48:09 tron Exp $
3 The login_cap fix committed to KDE2 source tree (jdolecek 19990128)
5 --- kdm/session.c.orig Fri Aug 20 20:35:10 1999
6 +++ kdm/session.c Sun Jan 23 01:22:47 2000
10 #include <sys/types.h>
11 +#include <sys/param.h>
16 char *crypt(char *key, char *salt);
19 -#ifdef HAVE_LOGIN_CAP_H
20 +#if defined(HAVE_LOGIN_CAP_H) && !defined(__NetBSD__)
21 #include <login_cap.h> /* BSDI-like login classes */
22 #define HAVE_SETUSERCONTEXT /* assume we have setusercontext if we have
28 -#if defined(Lynx) || defined(SCO) && !defined(SCO_USA) || !defined(HAVE_CRYPT_H)
29 +#if !defined(__NetBSD__) && (defined(Lynx) || defined(SCO) && !defined(SCO_USA) || !defined(HAVE_CRYPT_H))