[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-4.0-testing] tools/xenpaging: Add _XOPEN_SOURCE to fix build problems with recent gcc



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1289230530 0
# Node ID 1f0a8d20b756dc9f089eda56121d37109d837004
# Parent  4bd91466a085b20e150b03e29e6fd8e0d341a55a
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 <dkiper@xxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
xen-unstable changeset:   22023:af6799abc6e9
xen-unstable date:        Wed Aug 18 16:48:25 2010 +0100
---
 tools/xenpaging/xenpaging.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 4bd91466a085 -r 1f0a8d20b756 tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c       Wed Nov 03 08:28:36 2010 +0000
+++ b/tools/xenpaging/xenpaging.c       Mon Nov 08 15:35:30 2010 +0000
@@ -19,6 +19,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#define _XOPEN_SOURCE  600
 
 #include <inttypes.h>
 #include <stdlib.h>

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.