projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a75759
)
ioemu: Remove dependency on linux/input.h
author
Keir Fraser
<keir@xensource.com>
Fri, 2 Nov 2007 09:44:45 +0000
(09:44 +0000)
committer
Keir Fraser
<keir@xensource.com>
Fri, 2 Nov 2007 09:44:45 +0000
(09:44 +0000)
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/ioemu/hw/xenfb.c
patch
|
blob
|
history
diff --git
a/tools/ioemu/hw/xenfb.c
b/tools/ioemu/hw/xenfb.c
index fe8ea493584931af10d4ff04400d239f64695550..a36caae7a2d32c0f869e717603243dbdbc4f87a1 100644
(file)
--- a/
tools/ioemu/hw/xenfb.c
+++ b/
tools/ioemu/hw/xenfb.c
@@
-16,10
+16,13
@@
#include <string.h>
#include <time.h>
#include <xs.h>
-#include <linux/input.h>
#include "xenfb.h"
+#ifndef BTN_LEFT
+#define BTN_LEFT 0x110 /* from <linux/input.h> */
+#endif
+
// FIXME defend against malicious frontend?
struct xenfb;