Fix utmp. There is some clever logic in configure.ac which attempts to
determine whether struct utmp contains the ut_host and ut_time fields. Unfortunately, it reports a false negative for both on FreeBSD, and I didn't check the resulting config.h closely enough to catch the error. Noticed by: ache
This commit is contained in:
parent
add47b9589
commit
998ab76154
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157055
@ -392,7 +392,7 @@
|
||||
#define HAVE_HEADER_AD 1
|
||||
|
||||
/* Define if you have ut_host in utmp.h */
|
||||
/* #undef HAVE_HOST_IN_UTMP */
|
||||
#define HAVE_HOST_IN_UTMP 1
|
||||
|
||||
/* Define if you have ut_host in utmpx.h */
|
||||
/* #undef HAVE_HOST_IN_UTMPX */
|
||||
@ -897,7 +897,7 @@
|
||||
#define HAVE_TIME_H 1
|
||||
|
||||
/* Define if you have ut_time in utmp.h */
|
||||
/* #undef HAVE_TIME_IN_UTMP */
|
||||
#define HAVE_TIME_IN_UTMP 1
|
||||
|
||||
/* Define if you have ut_time in utmpx.h */
|
||||
/* #undef HAVE_TIME_IN_UTMPX */
|
||||
|
Loading…
Reference in New Issue
Block a user