(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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-18 13:26:06 +01:00
parent 913d6081e5
commit 3bd44734a4

View File

@ -42,6 +42,10 @@
#include "xf86_bsd_priv.h" #include "xf86_bsd_priv.h"
#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL)
#include <machine/sysarch.h>
#endif
#ifndef CONSOLE_X_TV_ON #ifndef CONSOLE_X_TV_ON
#define CONSOLE_X_TV_ON _IOW('t',155,int) #define CONSOLE_X_TV_ON _IOW('t',155,int)
#endif #endif