Fixes build against current xorg-x11-server-devel from Fedora 34/35/rawhide. Reviewed-by: Alex Deucher <alexander.deucher@amd.com>