Make this build on OpenBSD

This commit is contained in:
Matthieu Herrb 2007-05-29 12:14:23 -06:00
parent 047bf3349b
commit 3a6549a163

View File

@ -27,7 +27,7 @@
#include <xorg-config.h>
#endif
#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT)
#if defined (SYSCONS_SUPPORT)
#include <sys/kbio.h>
#endif
@ -77,7 +77,7 @@ xf86OSRingBell(int loudness, int pitch, int duration)
wsb.pitch = pitch;
wsb.period = duration;
wsb.volume = loudness;
ioctl(KBD_FD(xf86Info), WSKBDIO_COMPLEXBELL,
ioctl(xf86Info.consoleFd, WSKBDIO_COMPLEXBELL,
&wsb);
break;
#endif