diff --git a/ChangeLog b/ChangeLog index f42b662a..ee8166df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-04-28 Nicolas François + + * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX. + 2009-04-28 Nicolas François * libmisc/chkname.c: Do not include and . There diff --git a/libmisc/failure.c b/libmisc/failure.c index 320e4096..1a1e3d4a 100644 --- a/libmisc/failure.c +++ b/libmisc/failure.c @@ -289,11 +289,11 @@ void failprint (const struct faillog *fail) */ void failtmp (const char *username, -#ifdef HAVE_UTMPX_H +#ifdef USE_UTMPX const struct utmpx *failent -#else +#else /* !USE_UTMPX */ const struct utmp *failent -#endif +#endif /* !USE_UTMPX */ ) { char *ftmp;