mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
xfree86: add missing headers to build sun_init.c on Solaris/SPARC
Fixes:0f715b4ca4("xfree86: os-support: move hidden Solaris-specific symbols out of public header") Fixes:e2fa0d2ae0("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> Further explanation about this commit by @alanc: This particular set of `#ifdefs` matches the ones around the code using the fbio ioctls and mmap calls in the `xf86CloseConsole()` code later in the file:c62cd2feaa/hw/xfree86/os-support/solaris/sun_init.c (L281)reflecting the lack of /dev/fb style drivers on x86 systems on Solaris.
This commit is contained in:
committed by
Enrico Weigelt
parent
855aa4ef86
commit
e446fdc14a
@@ -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
|
||||
|
||||
#include "os/osdep.h"
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user