* lib/readutmp.h (UT_TIME_MEMBER) [HAVE_UTMP_H]: Revert last change.
+2023-08-08 Bruno Haible <bruno@clisp.org>
+
+ readutmp: Fix compilation error on OpenBSD and AIX (regr. 2023-08-03).
+ * lib/readutmp.h (UT_TIME_MEMBER) [HAVE_UTMP_H]: Revert last change.
+
2023-08-08 Bruno Haible <bruno@clisp.org>
readutmp: Fix compilation error on OpenBSD (regr. 2023-08-02).
struct utmp *getutent (void);
# endif
# define UTMP_STRUCT_NAME utmp
-# define UT_TIME_MEMBER(UT) ((UT)->ut_ts.tv_sec)
+# define UT_TIME_MEMBER(UT) ((UT)->ut_time)
# define SET_UTMP_ENT setutent
# define GET_UTMP_ENT getutent
# define END_UTMP_ENT endutent