--- w_keyboard.c.orig 2008-05-20 14:38:18.000000000 -0500 +++ w_keyboard.c 2009-12-21 15:10:12.000000000 -0600 @@ -45,6 +45,10 @@ #define REG_NOERROR 0 #endif +#ifndef REG_NOERROR +#define REG_NOERROR 0 +#endif + Boolean keyboard_input_available = False; int keyboard_x; int keyboard_y;