+2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * libmisc/failure.h: Replace HAVE_UTMPX_H by USE_UTMPX.
+
2009-04-28 Nicolas François <nicolas.francois@centraliens.net>
* libmisc/rlogin.c: Replace atoi() by getulong().
#include "defines.h"
#include "faillog.h"
-#ifdef HAVE_UTMPX_H
+#ifdef USE_UTMPX
#include <utmpx.h>
-#else
+#else /* !USE_UTMPX */
#include <utmp.h>
-#endif
+#endif /* !USE_UTMPX */
/*
* failure - make failure entry
* failtmp updates the (struct utmp) formatted failure log which
* maintains a record of all login failures.
*/
-#ifdef HAVE_UTMPX_H
+#ifdef USE_UTMPX
extern void failtmp (const char *username, const struct utmpx *);
-#else
+#else /* !USE_UTMPX */
extern void failtmp (const char *username, const struct utmp *);
-#endif
+#endif /* !USE_UTMPX */
#endif