Make dtlogin compile on OpenBSD.

Most importantly, we *cannot* do the utmp stuff this code is attempting.
It is SysV-specific.
This commit is contained in:
Pascal Stumpf
2012-08-11 13:49:07 +02:00
committed by Jon Trulson
parent a8d5c1f0ba
commit 7c3a972d32
4 changed files with 22 additions and 3 deletions

View File

@@ -679,7 +679,8 @@ static int
MatchesFileSuffix(char *filename, char *suffix)
{
int retval = 0;
#if defined(_AIX) || defined(SVR4) || defined (__osf__) || defined(linux)
#if defined(_AIX) || defined(SVR4) || defined (__osf__) || defined(linux) || \
defined(CSRG_BASED)
char *pch;
/*