WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix build failure due to missing unistd.h
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 30 Aug 2005 13:16:20 +0000
Delivery-date: Tue, 30 Aug 2005 13:14:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix build failure due to missing unistd.h, Xen patchbot -unstable <=