From 6e421d2bbd6b14dbef17548db08a4175725d7057 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 4 Apr 2004 19:26:35 +0000 Subject: [PATCH] Updates for NetBSD --- ChangeLog | 3 +++ unix/mblogin.c | 3 +++ unix/utmp.c | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 2d57e909..75a4d414 100644 --- a/ChangeLog +++ b/ChangeLog @@ -26,6 +26,9 @@ v0.51.3 22-Mar-2003 mbfido: The area tags are now created in /opt/mbse/share/doc/tags. + mblogin: + Changed some defines for NetBSD 1.6.2 + v0.51.2 06-Mar-2004 - 22-Mar-2003 diff --git a/unix/mblogin.c b/unix/mblogin.c index bbaa3dd9..342aa2ee 100644 --- a/unix/mblogin.c +++ b/unix/mblogin.c @@ -41,6 +41,9 @@ #if defined(SHADOW_PASSWORD) #include #endif +#if defined(__NetBSD__) +#undef HAVE_UTMPX_H +#endif #if HAVE_UTMPX_H #include #endif diff --git a/unix/utmp.c b/unix/utmp.c index 896b22ee..b62ae954 100644 --- a/unix/utmp.c +++ b/unix/utmp.c @@ -52,6 +52,10 @@ #include #include "utmp.h" +#if defined(__NetBSD__) +#undef LOGIN_PROCESS +#undef HAVE_UTMPX_H +#endif #if HAVE_UTMPX_H extern struct utmpx utxent;