diff options
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | modules/pam_lastlog/pam_lastlog.c | 6 |
2 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index d7d440e7..7565f024 100644 --- a/configure.ac +++ b/configure.ac @@ -650,9 +650,6 @@ dnl Checks for header files. AC_HEADER_DIRENT AC_HEADER_SYS_WAIT -dnl For module/pam_lastlog -AC_CHECK_HEADERS(lastlog.h utmp.h utmpx.h) - dnl Checks for typedefs, structures, and compiler characteristics. AC_C_BIGENDIAN AC_C_CONST diff --git a/modules/pam_lastlog/pam_lastlog.c b/modules/pam_lastlog/pam_lastlog.c index 43cc4b7d..2daedb7c 100644 --- a/modules/pam_lastlog/pam_lastlog.c +++ b/modules/pam_lastlog/pam_lastlog.c @@ -13,11 +13,7 @@ #include <fcntl.h> #include <time.h> #include <errno.h> -#ifdef HAVE_UTMP_H -# include <utmp.h> -#else -# include <lastlog.h> -#endif +#include <utmp.h> #include <pwd.h> #include <stdlib.h> #include <ctype.h> |