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] liblx: fix fstat() build warning

To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] liblx: fix fstat() build warning
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Mon, 02 Aug 2010 12:04:08 +0800
Cc: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Delivery-date: Sun, 01 Aug 2010 21:05:04 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.6.1+3-b6f72d8d77ae
# HG changeset patch
# User Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
# Date 1280719211 -28800
# Node ID 21855d1dd84ebfc8eb8b276b0dcb898cac888098
# Parent  3263d0ff9476f574961a3975897fe33601253b56
liblx: fix fstat() build warning.

Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>

diff -r 3263d0ff9476 -r 21855d1dd84e tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Thu Jul 29 16:53:40 2010 +0100
+++ b/tools/libxl/libxl.c       Mon Aug 02 11:20:11 2010 +0800
@@ -20,6 +20,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <sys/types.h>
+#include <sys/stat.h>
 #include <fcntl.h>
 #include <sys/select.h>
 #include <sys/mman.h>

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

<Prev in Thread] Current Thread [Next in Thread>