ia64/xen-unstable

changeset 6489:1f46fafb7221

Fix build failure due to missing unistd.h
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Aug 30 13:16:05 2005 +0000 (2005-08-30)
parents 48e94e358663
children 7069f0de0cce
files tools/libxc/xc_core.c tools/libxc/xc_linux_build.c tools/libxc/xc_vmx_build.c tools/libxc/xg_private.c
line diff
     1.1 --- a/tools/libxc/xc_core.c	Tue Aug 30 13:15:20 2005 +0000
     1.2 +++ b/tools/libxc/xc_core.c	Tue Aug 30 13:16:05 2005 +0000
     1.3 @@ -2,6 +2,7 @@
     1.4  #define ELFSIZE 32
     1.5  #include "xc_elf.h"
     1.6  #include <stdlib.h>
     1.7 +#include <unistd.h>
     1.8  #include <zlib.h>
     1.9  
    1.10  /* number of pages to write at a time */
     2.1 --- a/tools/libxc/xc_linux_build.c	Tue Aug 30 13:15:20 2005 +0000
     2.2 +++ b/tools/libxc/xc_linux_build.c	Tue Aug 30 13:16:05 2005 +0000
     2.3 @@ -17,6 +17,7 @@
     2.4  #include "xc_elf.h"
     2.5  #include "xc_aout9.h"
     2.6  #include <stdlib.h>
     2.7 +#include <unistd.h>
     2.8  #include <zlib.h>
     2.9  
    2.10  #if defined(__i386__)
     3.1 --- a/tools/libxc/xc_vmx_build.c	Tue Aug 30 13:15:20 2005 +0000
     3.2 +++ b/tools/libxc/xc_vmx_build.c	Tue Aug 30 13:16:05 2005 +0000
     3.3 @@ -7,6 +7,7 @@
     3.4  #define ELFSIZE 32
     3.5  #include "xc_elf.h"
     3.6  #include <stdlib.h>
     3.7 +#include <unistd.h>
     3.8  #include <zlib.h>
     3.9  #include <xen/io/ioreq.h>
    3.10  #include "linux_boot_params.h"
     4.1 --- a/tools/libxc/xg_private.c	Tue Aug 30 13:15:20 2005 +0000
     4.2 +++ b/tools/libxc/xg_private.c	Tue Aug 30 13:16:05 2005 +0000
     4.3 @@ -5,6 +5,7 @@
     4.4   */
     4.5  
     4.6  #include <stdlib.h>
     4.7 +#include <unistd.h>
     4.8  #include <zlib.h>
     4.9  
    4.10  #include "xg_private.h"