From fb64560b9c2504ed7e0075afcf759e312a2329cb Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 18 Mar 2024 13:26:06 +0100 Subject: [PATCH] (submit/bsd-defines) xfree86: os-support: move including machine/sysarch.h out of public header The only consumer seems to be one BSD specific file, the few drivers using the *_iopl seem to include it on their own. Thus, no need to keep it in public headers. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/os-support/bsd/i386_video.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/xfree86/os-support/bsd/i386_video.c b/hw/xfree86/os-support/bsd/i386_video.c index 6374b5f80..5276e9621 100644 --- a/hw/xfree86/os-support/bsd/i386_video.c +++ b/hw/xfree86/os-support/bsd/i386_video.c @@ -42,6 +42,10 @@ #include "xf86_bsd_priv.h" +#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL) +#include +#endif + #ifndef CONSOLE_X_TV_ON #define CONSOLE_X_TV_ON _IOW('t',155,int) #endif