mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-27 16:39:06 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user