[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix build failure due to missing unistd.h



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 1f46fafb7221d19a6a344b80f7a0ebf2162794c1
# Parent  48e94e3586636152f4830630a5973898a339a734
Fix build failure due to missing unistd.h
Signed-off-by: Michal Ostrowski <mostrows@xxxxxxxxxxxxxx>

diff -r 48e94e358663 -r 1f46fafb7221 tools/libxc/xc_core.c
--- a/tools/libxc/xc_core.c     Tue Aug 30 13:15:20 2005
+++ b/tools/libxc/xc_core.c     Tue Aug 30 13:16:05 2005
@@ -2,6 +2,7 @@
 #define ELFSIZE 32
 #include "xc_elf.h"
 #include <stdlib.h>
+#include <unistd.h>
 #include <zlib.h>
 
 /* number of pages to write at a time */
diff -r 48e94e358663 -r 1f46fafb7221 tools/libxc/xc_linux_build.c
--- a/tools/libxc/xc_linux_build.c      Tue Aug 30 13:15:20 2005
+++ b/tools/libxc/xc_linux_build.c      Tue Aug 30 13:16:05 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 48e94e358663 -r 1f46fafb7221 tools/libxc/xc_vmx_build.c
--- a/tools/libxc/xc_vmx_build.c        Tue Aug 30 13:15:20 2005
+++ b/tools/libxc/xc_vmx_build.c        Tue Aug 30 13:16:05 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 48e94e358663 -r 1f46fafb7221 tools/libxc/xg_private.c
--- a/tools/libxc/xg_private.c  Tue Aug 30 13:15:20 2005
+++ b/tools/libxc/xg_private.c  Tue Aug 30 13:16:05 2005
@@ -5,6 +5,7 @@
  */
 
 #include <stdlib.h>
+#include <unistd.h>
 #include <zlib.h>
 
 #include "xg_private.h"

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.