mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-05 11:20:38 +02:00
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>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1420>
(cherry picked from commit bd40e9f836)
This commit is contained in:
parent
b2078acc33
commit
c0cf638136
2 changed files with 4 additions and 4 deletions
|
|
@ -36,6 +36,10 @@
|
|||
#include "xf86_OSlib.h"
|
||||
#include "xf86OSpriv.h"
|
||||
|
||||
#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL)
|
||||
#include <machine/sysarch.h>
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__) && !defined(MAP_FILE)
|
||||
#define MAP_FLAGS MAP_SHARED
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -207,10 +207,6 @@ struct pcvtid {
|
|||
#define CONSOLE_X_BELL _IOW('t',123,int[2])
|
||||
#endif
|
||||
|
||||
#if defined(USE_I386_IOPL) || defined(USE_AMD64_IOPL)
|
||||
#include <machine/sysarch.h>
|
||||
#endif
|
||||
|
||||
#define CLEARDTR_SUPPORT
|
||||
|
||||
#endif /* __FreeBSD__ || __NetBSD__ || __OpenBSD__ || __DragonFly__ */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue