debuggers.hg

changeset 17295:153b541c204c

blktap: Fix BSD build failure.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Mar 19 16:19:10 2008 +0000 (2008-03-19)
parents c927f758fcba
children 7fc9767f966a
files tools/blktap/drivers/block-qcow2.c
line diff
     1.1 --- a/tools/blktap/drivers/block-qcow2.c	Wed Mar 19 16:16:24 2008 +0000
     1.2 +++ b/tools/blktap/drivers/block-qcow2.c	Wed Mar 19 16:19:10 2008 +0000
     1.3 @@ -45,6 +45,11 @@
     1.4  #define O_BINARY 0
     1.5  #endif
     1.6  
     1.7 +/* *BSD has no O_LARGEFILE */
     1.8 +#ifndef O_LARGEFILE
     1.9 +#define O_LARGEFILE     0 
    1.10 +#endif
    1.11 +
    1.12  #define BLOCK_FLAG_ENCRYPT 1
    1.13  
    1.14  /*