From: Christoph Egger Subject: [PATCH][TOOLS] Build fix for *BSD Date: Wed, 19 Mar 2008 14:34:48 +0100 Message-ID: <200803191434.48600.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_4ZR4H5zTZZ+QQRK" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_4ZR4H5zTZZ+QQRK Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi! Attached patch fixes a build failure for *BSD. Signed-off-by: Christoph Egger =2D-=20 AMD Saxony, Dresden, Germany Operating System Research Center Legal Information: AMD Saxony Limited Liability Company & Co. KG Sitz (Gesch=E4ftsanschrift): Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland Registergericht Dresden: HRA 4896 vertretungsberechtigter Komplement=E4r: AMD Saxony LLC (Sitz Wilmington, Delaware, USA) Gesch=E4ftsf=FChrer der AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --Boundary-00=_4ZR4H5zTZZ+QQRK Content-Type: text/x-diff; charset="us-ascii"; name="tools_blktap.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tools_blktap.diff" diff -r 0901aec1d00b tools/blktap/drivers/block-qcow2.c --- a/tools/blktap/drivers/block-qcow2.c Wed Mar 19 00:01:25 2008 +0000 +++ b/tools/blktap/drivers/block-qcow2.c Wed Mar 19 16:37:56 2008 +0100 @@ -43,6 +43,11 @@ #ifndef O_BINARY #define O_BINARY 0 +#endif + +/* *BSD has no O_LARGEFILE */ +#ifndef O_LARGEFILE +#define O_LARGEFILE 0 #endif #define BLOCK_FLAG_ENCRYPT 1 --Boundary-00=_4ZR4H5zTZZ+QQRK Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_4ZR4H5zTZZ+QQRK--