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

[Xen-changelog] [xen-unstable] blktap: Fix BSD build failure.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205943550 0
# Node ID 153b541c204c9eff9c38765d2a688b51d6d847d5
# Parent  c927f758fcba590f9a4e443057b7f7b467a120bb
blktap: Fix BSD build failure.
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/blktap/drivers/block-qcow2.c |    5 +++++
 1 files changed, 5 insertions(+)

diff -r c927f758fcba -r 153b541c204c tools/blktap/drivers/block-qcow2.c
--- a/tools/blktap/drivers/block-qcow2.c        Wed Mar 19 16:16:24 2008 +0000
+++ b/tools/blktap/drivers/block-qcow2.c        Wed Mar 19 16:19:10 2008 +0000
@@ -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

_______________________________________________
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®.