mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Commit0d4a7ed6put the definition of pcvt_version inside #ifdef __NetBSD__ but left one use of it outside of the ifdefs, resulting in a build failure on FreeBSD 14.0 in the gitlab CI for xf86-input-keyboard. ../hw/xfree86/os-support/bsd/bsd_init.c:540:21: error: use of undeclared identifier 'pcvt_version' pcvt_version.rmajor, pcvt_version.rminor); ^ ../hw/xfree86/os-support/bsd/bsd_init.c:540:42: error: use of undeclared identifier 'pcvt_version' pcvt_version.rmajor, pcvt_version.rminor); ^ Fixes:0d4a7ed68("bsd_init.c: fix build on OpenBSD") Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1424> (cherry picked from commite1c5be126b)