diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 51376ba..93a28da 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,8 @@ AC_PROG_INSTALL AC_CHECK_HEADERS([lastlog.h utmpx.h sys/param.h]) AC_CHECK_MEMBER([struct utmpx.ut_syslen], HAVE_SYSLEN=1, - HAVE_SYSLEN=0) + HAVE_SYSLEN=0, + [#include <utmpx.h>]) AC_DEFINE_UNQUOTED(HAVE_UTMPX_UT_SYSLEN,$HAVE_SYSLEN, [utmpx structure includes ut_syslen field]) |