ia64/xen-unstable

changeset 16306:4c1b7e48f791

ioemu: Remove dependency on linux/input.h
Signed-off-by: Keir Fraser <keir@xensource.com>
author Keir Fraser <keir@xensource.com>
date Fri Nov 02 09:44:45 2007 +0000 (2007-11-02)
parents 3582a7a52c10
children d7d40acebdc1
files tools/ioemu/hw/xenfb.c
line diff
     1.1 --- a/tools/ioemu/hw/xenfb.c	Fri Nov 02 09:30:51 2007 +0000
     1.2 +++ b/tools/ioemu/hw/xenfb.c	Fri Nov 02 09:44:45 2007 +0000
     1.3 @@ -16,10 +16,13 @@
     1.4  #include <string.h>
     1.5  #include <time.h>
     1.6  #include <xs.h>
     1.7 -#include <linux/input.h>
     1.8  
     1.9  #include "xenfb.h"
    1.10  
    1.11 +#ifndef BTN_LEFT
    1.12 +#define BTN_LEFT 0x110 /* from <linux/input.h> */
    1.13 +#endif
    1.14 +
    1.15  // FIXME defend against malicious frontend?
    1.16  
    1.17  struct xenfb;