Created attachment 62860 [details] [review] Patch fixing the compilation issue. Compilation of sessreg-1.0.7 on NetBSD-6.99.7/amd64 fails with: --- sessreg.o --- CC sessreg.o sessreg.c:257:16: error: use of undeclared identifier 'WTMPX_FILE' wtmpx_file = WTMPX_FILE; ^ sessreg.c:264:16: error: use of undeclared identifier 'UTMPX_FILE' utmpx_file = UTMPX_FILE; ^ NetBSD supports utmpx and wtmpx but does not provide these defines. Similar defines exist though, _PATH_WTMPX and _PATH_UTMPX. The attach patch serves as a workaround; a more complete solution might add checks to configure for them (not provided).
Please submit your patch to xorg-devel for review if you haven't already. Also, please fix the mime type to be text/plain on future attachments.
Fix pushed to git master: http://cgit.freedesktop.org/xorg/app/sessreg/commit/?id=1d609a5daa3fa1553111076561a1f800e462156d Thanks for the patch.
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.