[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] ioemu: Remove dependency on linux/input.h



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1193996685 0
# Node ID 4c1b7e48f79139d9fbb20bb93ef4b0b625a635e3
# Parent  3582a7a52c103194bc5cbf9c0fac41020b87c0f2
ioemu: Remove dependency on linux/input.h
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/ioemu/hw/xenfb.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r 3582a7a52c10 -r 4c1b7e48f791 tools/ioemu/hw/xenfb.c
--- a/tools/ioemu/hw/xenfb.c    Fri Nov 02 09:30:51 2007 +0000
+++ b/tools/ioemu/hw/xenfb.c    Fri Nov 02 09:44:45 2007 +0000
@@ -16,9 +16,12 @@
 #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?
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.