Make this build on OpenBSD
This commit is contained in:
parent
047bf3349b
commit
3a6549a163
|
@ -27,7 +27,7 @@
|
||||||
#include <xorg-config.h>
|
#include <xorg-config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (SYSCONS_SUPPORT) || defined (PCVT_SUPPORT)
|
#if defined (SYSCONS_SUPPORT)
|
||||||
#include <sys/kbio.h>
|
#include <sys/kbio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ xf86OSRingBell(int loudness, int pitch, int duration)
|
||||||
wsb.pitch = pitch;
|
wsb.pitch = pitch;
|
||||||
wsb.period = duration;
|
wsb.period = duration;
|
||||||
wsb.volume = loudness;
|
wsb.volume = loudness;
|
||||||
ioctl(KBD_FD(xf86Info), WSKBDIO_COMPLEXBELL,
|
ioctl(xf86Info.consoleFd, WSKBDIO_COMPLEXBELL,
|
||||||
&wsb);
|
&wsb);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue