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

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



# HG changeset patch
# User Daniel Kiper <dkiper@xxxxxxxxxxxx>
# Date 1282146505 -3600
# Node ID af6799abc6e93a1a877cc56913584b7ea0b43c91
# Parent  c9f7a66149dc69a00593cbc8d439103459cf5f09
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>
---
 tools/xenpaging/xenpaging.c |    1 +
 1 files changed, 1 insertion(+)

diff -r c9f7a66149dc -r af6799abc6e9 tools/xenpaging/xenpaging.c
--- a/tools/xenpaging/xenpaging.c       Wed Aug 18 14:50:51 2010 +0100
+++ b/tools/xenpaging/xenpaging.c       Wed Aug 18 16:48:25 2010 +0100
@@ -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®.