From: "Jan Beulich" Subject: [PATCH] linux: don't include Xen headers in non-Xen builds Date: Fri, 04 Apr 2008 12:55:08 +0100 Message-ID: <47F6333C.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 Index: head-2008-04-02/fs/compat_ioctl.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- head-2008-04-02.orig/fs/compat_ioctl.c 2008-04-02 12:46:35.0000000= 00 +0200 +++ head-2008-04-02/fs/compat_ioctl.c 2008-04-02 13:28:35.000000000 = +0200 @@ -124,10 +124,12 @@ #include #include =20 +#ifdef CONFIG_XEN #include #include #include #include +#endif =20 /* Aiee. Someone does not find a difference between int and long */ #define EXT2_IOC32_GETFLAGS _IOR('f', 1, int)