diff --git a/appl/login/utmp_login.c b/appl/login/utmp_login.c index ab5ff3c2b..592cc5883 100644 --- a/appl/login/utmp_login.c +++ b/appl/login/utmp_login.c @@ -6,7 +6,7 @@ RCSID("$Id$"); void utmp_login(char *tty, char *username, char *hostname) { -#ifndef HAVE_UTMPX_H +#ifndef HAVE_UTMPX struct utmp utmp; struct hostent *he; int fd; @@ -81,5 +81,5 @@ void utmp_login(char *tty, char *username, char *hostname) write(fd, (char *)&utmp, sizeof(struct utmp)); close(fd); } -#endif /* HAVE_UTMPX_H */ +#endif /* HAVE_UTMPX */ } diff --git a/appl/login/utmpx_login.c b/appl/login/utmpx_login.c index cf7916c16..dd7351e62 100644 --- a/appl/login/utmpx_login.c +++ b/appl/login/utmpx_login.c @@ -9,7 +9,7 @@ RCSID("$Id$"); int utmpx_login(char *line, char *user, char *host) { -#ifndef HAVE_UTMPX_H +#ifndef HAVE_UTMPX return 0; #else struct utmpx *ut; @@ -43,5 +43,5 @@ utmpx_login(char *line, char *user, char *host) } endutxent(); return (ret); -#endif /* HAVE_UTMPX_H */ +#endif /* HAVE_UTMPX */ }