From c62cd2feaadaa49c385e277bb97fa7e3b48e3c4f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 25 Sep 2025 16:58:00 -0700 Subject: [PATCH] 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 ") Signed-off-by: Alan Coopersmith Part-of: --- hw/xfree86/os-support/solaris/sun_init.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/xfree86/os-support/solaris/sun_init.c b/hw/xfree86/os-support/solaris/sun_init.c index 58cc882d3..4e91d3cfd 100644 --- a/hw/xfree86/os-support/solaris/sun_init.c +++ b/hw/xfree86/os-support/solaris/sun_init.c @@ -39,6 +39,11 @@ #include #endif +#if !defined(__i386__) && !defined(__i386) && !defined(__x86) +#include +#include +#endif + /* * Applications see VT number as consecutive integers starting from 1. * VT number VT device