* libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
This commit is contained in:
parent
e6b23e1431
commit
79919f184c
@ -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>
|
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
|
* libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
|
||||||
|
@ -289,11 +289,11 @@ void failprint (const struct faillog *fail)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
void failtmp (const char *username,
|
void failtmp (const char *username,
|
||||||
#ifdef HAVE_UTMPX_H
|
#ifdef USE_UTMPX
|
||||||
const struct utmpx *failent
|
const struct utmpx *failent
|
||||||
#else
|
#else /* !USE_UTMPX */
|
||||||
const struct utmp *failent
|
const struct utmp *failent
|
||||||
#endif
|
#endif /* !USE_UTMPX */
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
char *ftmp;
|
char *ftmp;
|
||||||
|
Loading…
Reference in New Issue
Block a user