diff --git a/hw/xfree86/common/xf86Priv.h b/hw/xfree86/common/xf86Priv.h index 641509a1e..bed1ac2bc 100644 --- a/hw/xfree86/common/xf86Priv.h +++ b/hw/xfree86/common/xf86Priv.h @@ -57,8 +57,6 @@ extern _X_EXPORT void xf86BusProbe(void); /* xf86Events.c */ -extern _X_EXPORT void -xf86HandlePMEvents(int fd, void *data); extern _X_EXPORT int (*xf86PMGetEventFromOs) (int fd, pmEvent * events, int num); extern _X_EXPORT pmWait (*xf86PMConfirmEventToOs) (int fd, pmEvent event); diff --git a/hw/xfree86/common/xf86_priv.h b/hw/xfree86/common/xf86_priv.h index 503793430..d4ab811f1 100644 --- a/hw/xfree86/common/xf86_priv.h +++ b/hw/xfree86/common/xf86_priv.h @@ -69,6 +69,7 @@ Bool xf86VTOwner(void); void xf86VTEnter(void); void xf86EnableInputDeviceForVTSwitch(InputInfoPtr pInfo); void xf86Wakeup(void *blockData, int err); +void xf86HandlePMEvents(int fd, void *data); /* xf86Helper.c */ void xf86DeleteDriver(int drvIndex); diff --git a/hw/xfree86/os-support/linux/lnx_acpi.c b/hw/xfree86/os-support/linux/lnx_acpi.c index aaf6bb5c9..573836825 100644 --- a/hw/xfree86/os-support/linux/lnx_acpi.c +++ b/hw/xfree86/os-support/linux/lnx_acpi.c @@ -13,7 +13,7 @@ #include "os/log_priv.h" #include "os.h" -#include "xf86.h" +#include "xf86_priv.h" #include "xf86Priv.h" #include "xf86_os_support.h" #include "xf86_OSproc.h"