X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/0a7de7458d150b5d4dffc935ba399be265ef0a1a..HEAD:/bsd/dev/dtrace/blist.h diff --git a/bsd/dev/dtrace/blist.h b/bsd/dev/dtrace/blist.h index b670ca156..578cea2cc 100644 --- a/bsd/dev/dtrace/blist.h +++ b/bsd/dev/dtrace/blist.h @@ -90,6 +90,10 @@ typedef struct blist { #define BLIST_MAX_ALLOC BLIST_BMAP_RADIX +#if defined(__APPLE__) +#define SWAPBLK_NONE ((daddr_t)-1) +#endif /* __APPLE__ */ + extern blist_t blist_create(daddr_t blocks); extern void blist_destroy(blist_t blist); extern daddr_t blist_alloc(blist_t blist, daddr_t count);