$NetBSD: patch-ab,v 1.1.1.1 2002/06/04 09:56:38 cjep Exp $

--- su2.c.orig	Thu Sep  7 13:10:11 1995
+++ su2.c
@@ -113,9 +113,9 @@
 #ifndef NOSU2RC
 char   *UsersNameFile = ".su2rc";
 #endif NOSU2RC
-char   *SULog = "/usr/adm/sulog";
+char   *SULog = SU2LOGFILE;
 
-char   *UtmpFile = "/etc/utmp";
+char   *UtmpFile = "/var/run/utmp";
 
 #ifndef PATH
 # ifdef BSD
@@ -188,7 +188,7 @@
 void   setpwent ();
 #endif
 
-#ifndef sgi
+#if !defined(sgi) && !defined(__NetBSD__)
 struct passwd  *getpwuid ();
 struct passwd  *getpwnam ();
 void    endpwent ();
