In file included from sessreg.h:59, from sessreg.c:77: /usr/include/utmp.h:54: error: expected specifier-qualifier-list before 'int32_t' /usr/include/utmp.h:63: error: expected specifier-qualifier-list before 'int32_t' sessreg.c: In function 'set_utmp': sessreg.c:421: error: 'struct utmp' has no member named 'ut_time' gmake[1]: *** [sessreg-sessreg.o] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/x11-apps/sessreg-1.0.2/work/sessreg-1.0.2' gmake: *** [all] Error 2
Created attachment 8606 [details] [review] Include sys/types.h if we have it
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Thanks for the report - fix checked into git master: commit 136525f01e4ce8e60e8c78b44654d8f6861233d2 Author: Alan Coopersmith <alan.coopersmith@sun.com> Date: Mon Jun 11 16:38:00 2007 -0700 X.Org Bug #9887: sessreg should include sys/types.h on FreeBSD X.Org Bugzilla #9887: <https://bugs.freedesktop.org/show_bug.cgi?id=9887> (Just added it directly without #ifdefs, since all supported systems have <sys/types.h> and other Xorg code already includes without any checks.)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.