From 52f12fda0efb384ed026a162293cfbcd9c8d9414 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 8 Nov 2010 15:35:30 +0000 Subject: [PATCH] tools/xenpaging: Add _XOPEN_SOURCE to fix build problems with recent gcc This patch fixes compilation issues with gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). Signed-off-by: Daniel Kiper Signed-off-by: Ian Jackson xen-unstable changeset: 22023:af6799abc6e9 xen-unstable date: Wed Aug 18 16:48:25 2010 +0100 --- tools/xenpaging/xenpaging.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/xenpaging/xenpaging.c b/tools/xenpaging/xenpaging.c index d290725f30..38e78c2967 100644 --- a/tools/xenpaging/xenpaging.c +++ b/tools/xenpaging/xenpaging.c @@ -19,6 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#define _XOPEN_SOURCE 600 #include #include