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-devel

[Xen-devel] [PATCH] Fix build failure, include missing headers.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix build failure, include missing headers.
From: Michal Ostrowski <mostrows@xxxxxxxxxxxxxx>
Date: Tue, 30 Aug 2005 08:27:41 -0400
Delivery-date: Tue, 30 Aug 2005 12:25:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Michal Ostrowski <mostrows@xxxxxxxxxxxxxx>

changeset:   6475:ab23e20076ec
tag:         tip
user:        mostrows@xxxxxxxxxxxxxxxxxxxxx
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"


Attachment: pgpdMz5jhQ5k0.pgp
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix build failure, include missing headers., Michal Ostrowski <=