xfree86: add missing headers to build sun_init.c on Solaris/SPARC

Fixes: 0f715b4ca ("xfree86: os-support: move hidden Solaris-specific symbols out of public header")
Fixes: e2fa0d2ae ("fix including <sys/mman.h>")

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2070>
This commit is contained in:
Alan Coopersmith 2025-09-25 16:58:00 -07:00
parent 908f0a488d
commit c62cd2feaa

View file

@ -39,6 +39,11 @@
#include <sys/kd.h>
#endif
#if !defined(__i386__) && !defined(__i386) && !defined(__x86)
#include <sys/fbio.h>
#include <sys/mman.h>
#endif
/*
* Applications see VT number as consecutive integers starting from 1.
* VT number VT device