Michal Ostrowski
2005-Aug-30 12:27 UTC
[Xen-devel] [PATCH] Fix build failure, include missing headers.
Signed-off-by: Michal Ostrowski <mostrows@watson.ibm.com> changeset: 6475:ab23e20076ec tag: tip user: mostrows@heater.watson.ibm.com date: Tue Aug 30 08:01:28 2005 -0400 summary: Fix build failure due to missing unistd.h diff -r b6a82de711aa -r ab23e20076ec tools/libxc/xc_core.c --- a/tools/libxc/xc_core.c Tue Aug 30 12:01:02 2005 +++ b/tools/libxc/xc_core.c Tue Aug 30 12:01:28 2005 @@ -3,6 +3,7 @@ #include "xc_elf.h" #include <stdlib.h> +#include <unistd.h> #include <zlib.h> /* number of pages to write at a time */ #define DUMP_INCREMENT 4 * 1024 diff -r b6a82de711aa -r ab23e20076ec tools/libxc/xc_linux_build.c --- a/tools/libxc/xc_linux_build.c Tue Aug 30 12:01:02 2005 +++ b/tools/libxc/xc_linux_build.c Tue Aug 30 12:01:28 2005 @@ -17,6 +17,7 @@ #include "xc_elf.h" #include "xc_aout9.h" #include <stdlib.h> +#include <unistd.h> #include <zlib.h> #if defined(__i386__) diff -r b6a82de711aa -r ab23e20076ec tools/libxc/xc_vmx_build.c --- a/tools/libxc/xc_vmx_build.c Tue Aug 30 12:01:02 2005 +++ b/tools/libxc/xc_vmx_build.c Tue Aug 30 12:01:28 2005 @@ -7,6 +7,7 @@ #define ELFSIZE 32 #include "xc_elf.h" #include <stdlib.h> +#include <unistd.h> #include <zlib.h> #include <xen/io/ioreq.h> #include "linux_boot_params.h" diff -r b6a82de711aa -r ab23e20076ec tools/libxc/xg_private.c --- a/tools/libxc/xg_private.c Tue Aug 30 12:01:02 2005 +++ b/tools/libxc/xg_private.c Tue Aug 30 12:01:28 2005 @@ -5,6 +5,7 @@ */ #include <stdlib.h> +#include <unistd.h> #include <zlib.h> #include "xg_private.h" _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel