[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] linux: don't include Xen headers in non-Xen builds
As usual, written and tested on 2.6.25-rc8 and made apply to the 2.6.18 tree without further testing. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx> Index: head-2008-04-02/fs/compat_ioctl.c =================================================================== --- head-2008-04-02.orig/fs/compat_ioctl.c 2008-04-02 12:46:35.000000000 +0200 +++ head-2008-04-02/fs/compat_ioctl.c 2008-04-02 13:28:35.000000000 +0200 @@ -124,10 +124,12 @@ #include <linux/dvb/video.h> #include <linux/lp.h> +#ifdef CONFIG_XEN #include <xen/interface/xen.h> #include <xen/public/evtchn.h> #include <xen/public/privcmd.h> #include <xen/compat_ioctl.h> +#endif /* Aiee. Someone does not find a difference between int and long */ #define EXT2_IOC32_GETFLAGS _IOR('f', 1, int) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |