diff options
author | Keir Fraser <keir@xensource.com> | 2007-11-02 09:44:45 +0000 |
---|---|---|
committer | Keir Fraser <keir@xensource.com> | 2007-11-02 09:44:45 +0000 |
commit | fceab3378435dccdf50a09f344852ab81e25dd1c (patch) | |
tree | a2bf9af9452f136d313c59eeeee3fafb52428cda /tools/ioemu | |
parent | 9a757598ae1522d5487bd6cc2d358d6f9edcd602 (diff) | |
download | xen-fceab3378435dccdf50a09f344852ab81e25dd1c.tar.gz xen-fceab3378435dccdf50a09f344852ab81e25dd1c.tar.bz2 xen-fceab3378435dccdf50a09f344852ab81e25dd1c.zip |
ioemu: Remove dependency on linux/input.h
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/ioemu')
-rw-r--r-- | tools/ioemu/hw/xenfb.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/ioemu/hw/xenfb.c b/tools/ioemu/hw/xenfb.c index fe8ea49358..a36caae7a2 100644 --- 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; |