ia64/linux-2.6.18-xen.hg

changeset 512:70acfc9814c9

fs/compat_ioctl.c: don't include Xen headers in non-Xen builds

Signed-off-by: Jan Beulich <jbeulich@novell.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Apr 04 13:11:28 2008 +0100 (2008-04-04)
parents 3cd6b2bef0ce
children 51f1b31888b8
files fs/compat_ioctl.c
line diff
     1.1 --- a/fs/compat_ioctl.c	Fri Apr 04 10:21:02 2008 +0100
     1.2 +++ b/fs/compat_ioctl.c	Fri Apr 04 13:11:28 2008 +0100
     1.3 @@ -124,10 +124,12 @@
     1.4  #include <linux/dvb/video.h>
     1.5  #include <linux/lp.h>
     1.6  
     1.7 +#ifdef CONFIG_XEN
     1.8  #include <xen/interface/xen.h>
     1.9  #include <xen/public/evtchn.h>
    1.10  #include <xen/public/privcmd.h>
    1.11  #include <xen/compat_ioctl.h>
    1.12 +#endif
    1.13  
    1.14  /* Aiee. Someone does not find a difference between int and long */
    1.15  #define EXT2_IOC32_GETFLAGS               _IOR('f', 1, int)