mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 18:40:43 +03:00
Changes to make openzfs build within FreeBSD buildworld
A collection of header changes to enable FreeBSD to build with vendored OpenZFS. Reviewed-by: Ryan Moeller <ryan@ixsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10635
This commit is contained in:
@@ -40,10 +40,13 @@
|
||||
|
||||
#define XDR_GET_BYTES_AVAIL 1
|
||||
|
||||
typedef struct xdr_bytesrec {
|
||||
#ifndef HAVE_XDR_BYTESREC
|
||||
struct xdr_bytesrec {
|
||||
bool_t xc_is_last_record;
|
||||
size_t xc_num_avail;
|
||||
} xdr_bytesrec_t;
|
||||
};
|
||||
#endif
|
||||
typedef struct xdr_bytesrec xdr_bytesrec_t;
|
||||
|
||||
/*
|
||||
* This functionality is not required and is disabled in user space.
|
||||
|
||||
Reference in New Issue
Block a user