aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2010-11-08 15:35:30 +0000
committerKeir Fraser <keir@xen.org>2010-11-08 15:35:30 +0000
commit52f12fda0efb384ed026a162293cfbcd9c8d9414 (patch)
tree2aa5c2f3675d87fc7674d81152d0a4e8487b0e68
parente46ffd24d006c486e62265b7cbf83a77f70c8c15 (diff)
downloadxen-52f12fda0efb384ed026a162293cfbcd9c8d9414.tar.gz
xen-52f12fda0efb384ed026a162293cfbcd9c8d9414.tar.bz2
xen-52f12fda0efb384ed026a162293cfbcd9c8d9414.zip
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@net-space.pl> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> xen-unstable changeset: 22023:af6799abc6e9 xen-unstable date: Wed Aug 18 16:48:25 2010 +0100
-rw-r--r--tools/xenpaging/xenpaging.c1
1 files changed, 1 insertions, 0 deletions
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 <inttypes.h>
#include <stdlib.h>