--- hw/kdrive/ephyr/hostx.c.orig 2007-07-20 00:12:36.000000000 +0200 +++ hw/kdrive/ephyr/hostx.c 2007-07-20 00:16:17.020852526 +0200 @@ -40,6 +40,7 @@ #include #include #include +#include /* * All xlib calls go here, which gets built as its own .a . @@ -79,7 +80,8 @@ extern KeySym EphyrKeymap[]; -extern KeySym kdKeymap[]; +extern CARD32 kdKeymap[]; /* really KeySym, but Xlib & Xserver + use different sizes for that */ extern int kdMinScanCode; extern int kdMaxScanCode; extern int kdMinKeyCode;