* libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.

This commit is contained in:
nekral-guest 2009-04-28 19:14:50 +00:00
parent e6b23e1431
commit 79919f184c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There

View File

@ -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;