tools/xenpaging: Add _XOPEN_SOURCE to fix build problems with recent gcc
authorDaniel Kiper <dkiper@net-space.pl>
Wed, 18 Aug 2010 15:48:25 +0000 (16:48 +0100)
committerDaniel Kiper <dkiper@net-space.pl>
Wed, 18 Aug 2010 15:48:25 +0000 (16:48 +0100)
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>
tools/xenpaging/xenpaging.c

index 72d131161be747c7ee04902654a330deaaf5140f..e6ed4a6f9f15dffd968e4ebba47d6476abd4f90f 100644 (file)
@@ -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>