diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-03-19 16:19:10 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-03-19 16:19:10 +0000 |
commit | 6fef410021e2f5384a46aca3b6f49a507d331420 (patch) | |
tree | 95ae37c44d60399ba0377dbfa1e6c7fa6fdd752f /tools/blktap/drivers | |
parent | 10b787dabd1848a75da12bc5b4881eea854004b5 (diff) | |
download | xen-6fef410021e2f5384a46aca3b6f49a507d331420.tar.gz xen-6fef410021e2f5384a46aca3b6f49a507d331420.tar.bz2 xen-6fef410021e2f5384a46aca3b6f49a507d331420.zip |
blktap: Fix BSD build failure.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/blktap/drivers')
-rw-r--r-- | tools/blktap/drivers/block-qcow2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/blktap/drivers/block-qcow2.c b/tools/blktap/drivers/block-qcow2.c index 938e2b5f4e..e435e6e3aa 100644 --- a/tools/blktap/drivers/block-qcow2.c +++ b/tools/blktap/drivers/block-qcow2.c @@ -45,6 +45,11 @@ #define O_BINARY 0 #endif +/* *BSD has no O_LARGEFILE */ +#ifndef O_LARGEFILE +#define O_LARGEFILE 0 +#endif + #define BLOCK_FLAG_ENCRYPT 1 /* |