From dcc3de91d2b80be98e4488df29ec6b551c7ff6d1 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 18 Aug 2007 11:50:33 +0200 Subject: [PATCH] Xephyr: fix immediat segfault on amd64 This closes bug https://bugs.freedesktop.org/show_bug.cgi?id=11582 --- hw/kdrive/ephyr/hostx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/kdrive/ephyr/hostx.c b/hw/kdrive/ephyr/hostx.c index d0a2f2f95..12118da69 100644 --- a/hw/kdrive/ephyr/hostx.c +++ b/hw/kdrive/ephyr/hostx.c @@ -40,6 +40,7 @@ #include #include #include +#include /* * All xlib calls go here, which gets built as its own .a . @@ -79,7 +80,7 @@ static int HostXWantDamageDebug = 0; extern KeySym EphyrKeymap[]; -extern KeySym kdKeymap[]; +extern CARD32 kdKeymap[]; extern int kdMinScanCode; extern int kdMaxScanCode; extern int kdMinKeyCode;