linux: don't include Xen headers in non-Xen builds
PATCH 1/1 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 <[email protected]>
fs/compat_ioctl.c +2 -0
@@ -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)