debuggers.hg

changeset 22069:af6799abc6e9

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>
author Daniel Kiper <dkiper@net-space.pl>
date Wed Aug 18 16:48:25 2010 +0100 (2010-08-18)
parents c9f7a66149dc
children aa078b53ff62
files tools/xenpaging/xenpaging.c
line diff
     1.1 --- a/tools/xenpaging/xenpaging.c	Wed Aug 18 14:50:51 2010 +0100
     1.2 +++ b/tools/xenpaging/xenpaging.c	Wed Aug 18 16:48:25 2010 +0100
     1.3 @@ -19,6 +19,7 @@
     1.4   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     1.5   */
     1.6  
     1.7 +#define _XOPEN_SOURCE	600
     1.8  
     1.9  #include <inttypes.h>
    1.10  #include <stdlib.h>