diff options
Diffstat (limited to 'module/spl/spl-xdr.c')
-rw-r--r-- | module/spl/spl-xdr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/spl/spl-xdr.c b/module/spl/spl-xdr.c index 4055921b4..2cc3e2a03 100644 --- a/module/spl/spl-xdr.c +++ b/module/spl/spl-xdr.c @@ -25,7 +25,7 @@ #include <sys/kmem.h> #include <sys/debug.h> #include <sys/types.h> -#include <rpc/types.h> +#include <sys/sysmacros.h> #include <rpc/xdr.h> /* @@ -131,6 +131,8 @@ static struct xdr_ops xdrmem_encode_ops; static struct xdr_ops xdrmem_decode_ops; +typedef int bool_t; + void xdrmem_create(XDR *xdrs, const caddr_t addr, const uint_t size, const enum xdr_op op) |