* lib/readutmp.h (UT_ID_SIZE): Define to a dummy if there is no ut_id
field.
+2023-08-08 Bruno Haible <bruno@clisp.org>
+
+ readutmp: Fix compilation error on OpenBSD (regr. 2023-08-02).
+ * lib/readutmp.h (UT_ID_SIZE): Define to a dummy if there is no ut_id
+ field.
+
2023-08-07 Paul Eggert <eggert@cs.ucla.edu>
quotearg: fix obsolete comment
#if HAVE_GL_UTMP
enum { UT_ID_SIZE = -1 };
#else
+# if (HAVE_UTMPX_H ? HAVE_STRUCT_UTMPX_UT_ID : HAVE_STRUCT_UTMP_UT_ID)
enum { UT_ID_SIZE = sizeof (((STRUCT_UTMP *) 0)->ut_id) };
+# else
+enum { UT_ID_SIZE = 1 };
+# endif
# define UT_ID_SIZE UT_ID_SIZE
#endif