--- src/evdev_key.c.old 2006-11-04 17:01:57.000000000 -0700 +++ src/evdev_key.c 2006-11-04 17:05:28.000000000 -0700 @@ -240,9 +240,11 @@ static void EvdevKbdBell (int percent, DeviceIntPtr device, pointer arg, int unused) { +#ifdef xf86OSRingBell KeybdCtrl *ctrl = arg; xf86OSRingBell(percent, ctrl->bell_pitch, ctrl->bell_duration); +#endif } static void