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:
committed by
Jon Trulson
parent
a8d5c1f0ba
commit
7c3a972d32
@@ -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;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user