summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-08-18 11:50:33 +0200
committerDodji Seketeli <dodji@openedhand.com>2007-08-18 11:50:33 +0200
commitdcc3de91d2b80be98e4488df29ec6b551c7ff6d1 (patch)
treebe31bcb890a0c5987afee39639d5d6b269a01231
parent1d7fbdfea4f4dbbbb685c7407a1c060ac3875874 (diff)
Xephyr: fix immediat segfault on amd64
This closes bug https://bugs.freedesktop.org/show_bug.cgi?id=11582
-rw-r--r--hw/kdrive/ephyr/hostx.c3
1 files changed, 2 insertions, 1 deletions
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 <X11/Xatom.h>
#include <X11/keysym.h>
#include <X11/extensions/XShm.h>
+#include <X11/Xmd.h>
/*
* 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;