This is progress, so your patch should clearly be used. The reason that OpenSolaris fails now, is the lack of the types 'tv_sec' and 'tv_usec' for usage in utmp_logout(). When I joined the project, we had to modify the UTMP code to fit OpenBSD, so some futher analysis is required by OpenSolaris at the same spot. My guess is that the proper GNUlib modules are already productive.
tv_sec and tv_usec aren't types on any system I know of, they are part of the utmpx structure. Where exactly does opensolaris fail? The utmp_logout code is quite heavily guarded by #if's so I don't know where to look (two spots: one for UTMPX, and one for HAVE_DECL_GETUTENT && HAVE_STRUCT_UTMP_UT_TV).
