summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@deville.herrb.com>2007-05-29 12:14:23 -0600
committerMatthieu Herrb <matthieu@deville.herrb.com>2007-05-29 12:14:23 -0600
commit3a6549a163aba26bf4ac58b050c493fba0df14c6 (patch)
treeb5ad89d415c0b0ad727e2b20b73e0765ca137f4b /hw
parent047bf3349bb697c73c95729a8bbf15f72605901f (diff)
Make this build on OpenBSD
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/os-support/bsd/bsd_bell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xfree86/os-support/bsd/bsd_bell.c b/hw/xfree86/os-support/bsd/bsd_bell.c
index b7a0c486e..0d2420102 100644
--- a/hw/xfree86/os-support/bsd/bsd_bell.c
+++ b/hw/xfree86/os-support/bsd/bsd_bell.c
@@ -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