diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 6adaac4ba..2fc27c311 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -153,7 +153,6 @@ extern _X_EXPORT void SetTimeSinceLastInputEvent(void); extern _X_EXPORT void *xf86AddGeneralHandler(int fd, InputHandlerProc proc, void *data); extern _X_EXPORT int xf86RemoveGeneralHandler(void *handler); -extern _X_EXPORT void xf86VTEnter(void); extern _X_EXPORT void xf86EnableInputDeviceForVTSwitch(InputInfoPtr pInfo); /* xf86Helper.c */ diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index 09293ab27..21117bea9 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -21,5 +21,6 @@ void xf86InitOrigins(void); InputHandlerProc xf86SetConsoleHandler(InputHandlerProc handler, void *data); void xf86ProcessActionEvent(ActionEvent action, void *arg); Bool xf86VTOwner(void); +void xf86VTEnter(void); #endif /* _XSERVER_XF86_PRIV_H */ diff --git a/hw/xfree86/os-support/linux/systemd-logind.c b/hw/xfree86/os-support/linux/systemd-logind.c index a2e358180..dc4061bc6 100644 --- a/hw/xfree86/os-support/linux/systemd-logind.c +++ b/hw/xfree86/os-support/linux/systemd-logind.c @@ -37,7 +37,7 @@ #include "os.h" #include "linux.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86platformBus.h" #include "xf86Xinput_priv.h" #include "xf86Priv.h"