diff --git a/hw/xfree86/os-support/bsd/bsd_bell.c b/hw/xfree86/os-support/bsd/bsd_bell.c index 60c2ffc8b..b7a0c486e 100644 --- a/hw/xfree86/os-support/bsd/bsd_bell.c +++ b/hw/xfree86/os-support/bsd/bsd_bell.c @@ -27,10 +27,15 @@ #include #endif +#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT) +#include +#endif + #include #include "xf86.h" #include "xf86Priv.h" +#include "xf86_OSlib.h" #ifdef WSCONS_SUPPORT #define KBD_FD(i) ((i).kbdFd != -1 ? (i).kbdFd : (i).consoleFd)