From: Daniel Kiper Subject: Patch fixing compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Date: Wed, 18 Aug 2010 11:51:53 +0200 Message-ID: <20100818095153.GA22735@router-fw-old.local.net-space.pl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="bg08WKrSYDhXBjb5" 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 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Small patch which fixes compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). It applies to xen-4.0-testing and xen-unstable. Daniel # HG changeset patch # User dkiper@net-space.pl # Date 1282122059 -7200 # Node ID 071f7b19e8dab15ca664ab92617e206f3a020051 # Parent 8e8dd38374e9758412b079bf2edda1909ef157dd This patch fixes compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). Signed-off-by: Daniel Kiper diff -r 8e8dd38374e9 -r 071f7b19e8da tools/xenpaging/xenpaging.c --- a/tools/xenpaging/xenpaging.c Wed Aug 11 16:44:03 2010 +0100 +++ b/tools/xenpaging/xenpaging.c Wed Aug 18 11:00:59 2010 +0200 @@ -19,6 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define _XOPEN_SOURCE 600 #include #include --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="xen-4.0-testing-gcc-4.1.2.20061115-fix.r0.patch" # HG changeset patch # User dkiper@net-space.pl # Date 1282122059 -7200 # Node ID 071f7b19e8dab15ca664ab92617e206f3a020051 # Parent 8e8dd38374e9758412b079bf2edda1909ef157dd This patch fixes compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). Signed-off-by: Daniel Kiper diff -r 8e8dd38374e9 -r 071f7b19e8da tools/xenpaging/xenpaging.c --- a/tools/xenpaging/xenpaging.c Wed Aug 11 16:44:03 2010 +0100 +++ b/tools/xenpaging/xenpaging.c Wed Aug 18 11:00:59 2010 +0200 @@ -19,6 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define _XOPEN_SOURCE 600 #include #include --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --bg08WKrSYDhXBjb5--